Top 5 and Bottom 5

Hi all ,
Can anyone help me in solving the following problem ..
How to get top 5 and bottom 5 selling books in a single query
Eg:
Book name No.sold
A 45
B 78
C 8
D 6
T 66
E 33
AA 35
AB 95
AC 51
AD 5
AE 42
desired output :
Top 5 bname | bottom 5 bname
AB AD
B D
T C
AC E
A AA
Thanks in advance
Sana

Since, in general, more than one book can have same no_sold, more than 5 books can have top/bottom no_sold. If you want all 5 top and bottom selling books, use:
with t as (
           select  book_name,
                   no_sold,
                   dense_rank() over (order by no_sold desc) rnk_top,
                   dense_rank() over (order by no_sold) rnk_bottom,
                   row_number() over (order by no_sold desc) rn_top,
                   row_number() over (order by no_sold) rn_bottom
             from  books
select  t1.book_name,
        t2.book_name,
        t1.no_sold top_no_sold,
        t2.no_sold bottom_no_sold,
        nvl(t1.rnk_top,t2.rnk_bottom) rank
  from      t t1
        full join
            t t2
          on (
                  t2.rn_bottom = t1.rn_top
  where t1.rnk_top <= 5
    and t2.rnk_bottom <= 5
  order by nvl(t1.rn_top,t2.rn_bottom)
BO BO TOP_NO_SOLD BOTTOM_NO_SOLD       RANK
AB AD          95              5          1
B  D           78              6          2
T  C           66              8          3
AC E           51             33          4
A  AA          45             35          5
SQL> If all you want is any 5 top/bottom sold books:
with t as (
           select  book_name,
                   no_sold,
                   row_number() over (order by no_sold desc) rn_top,
                   row_number() over (order by no_sold) rn_bottom
             from  books
select  t1.book_name,
        t2.book_name,
        t1.no_sold top_no_sold,
        t2.no_sold bottom_no_sold,
        t1.rn_top rn
  from      t t1
        inner join
            t t2
          on (
                  t1.rn_top <= 5
              and
                  t2.rn_bottom <= 5
              and
                  t2.rn_bottom = t1.rn_top
  order by rn
BO BO TOP_NO_SOLD BOTTOM_NO_SOLD         RN
AB AD          95              5          1
B  D           78              6          2
T  C           66              8          3
AC E           51             33          4
A  AA          45             35          5
SQL> SY.

Similar Messages

  • Set top and bottom inset spacing values in Text Frame Options via jsx script

    I am looking for a way to set the top and bottom inset spacing values only to 2 points in Text Frame Options via a .jsx scrpt.
    For years, I have used a script that sets Preferences, such as:
    with(app.storyPreferences){
        opticalMarginAlignment = false;
        opticalMarginSize = 12;                // pts
    I would like to add the code to this same script that would make Top = 0p2 and Bottom 0p2 but leave Left and Right as 0p0.
    Any help would be greatly appreciated.

    Here is the full .jsx file that we now use to set preferences.
    Ideally, this could be modified to include setting any text frame created to have 0p2 inset Top and Bottom, but 0p0 Left and Right:
    //ApplicationTextDefaults
    //An InDesign CS2 JavaScript
    //Sets the application text defaults, which will become the text defaults for all
    //new documents. Existing documents will remain unchanged.
    with(app.textDefaults){
        alignToBaseline = false;        // align to baseline grid
        try {
    //        appliedFont = app.fonts.item("Times New Roman");
            appliedFont = app.fonts.item("Helvetica");
        catch (e) {}
        try {
            fontStyle = "Medium";
        catch (e) {}
        autoleading = 100;
        balanceRaggedLines = false;
        baselineShift = 0;
        capitalization = Capitalization.normal;
        composer = "Adobe Paragraph Composer";
        desiredGlyphScaling = 100;
        desiredLetterSpacing = 0;
        desiredWordSpacing = 100;
        dropCapCharacters = 0;
        if (dropCapCharacters != 0) {
            dropCapLines = 3;
            //Assumes that the application has a default character style named "myDropCap"
            //dropCapStyle = app.characterStyles.item("myDropCap");
        fillColor = app.colors.item("Black");
        fillTint = 100;
        firstLineIndent = "0pt";
    //    firstLineIndent = "14pt";
        gridAlignFirstLineOnly = false;
        horizontalScale = 100;
        hyphenateAfterFirst = 3;
        hyphenateBeforeLast = 4;
        hyphenateCapitalizedWords = false;
        hyphenateLadderLimit = 1;
        hyphenateWordsLongerThan = 5;
        hyphenation = true;
        hyphenationZone = "3p";
        hyphenWeight = 9;
        justification = Justification.leftAlign;
        keepAllLinesTogether = false;
        keepLinesTogether = true;
        keepFirstLines = 2;
        keepLastLines = 2;
        keepWithNext = 0;
        kerningMethod = "Optical";
        kerningValue = 0;
        leading = 6.3;
    //    leading = 14;
        leftIndent = 0;
        ligatures = true;
        maximumGlyphScaling = 100;
        maximumLetterSpacing = 0;
        maximumWordSpacing = 160;
        minimumGlyphScaling = 100;
        minimumLetterSpacing = 0;
        minimumWordSpacing = 80;
        noBreak = false;
        otfContextualAlternate = true;
        otfDiscretionaryLigature = true;
        otfFigureStyle = OTFFigureStyle.proportionalOldstyle;
        otfFraction = true;
        otfHistorical = true;
        otfOrdinal = false;
        otfSlashedZero = true;
        otfSwash = false;
        otfTitling = false;
        overprintFill = false;
        overprintStroke = false;
        pointSize = 6.3;
    //    pointSize = 11;
        position = Position.normal;
        rightIndent = 0;
        ruleAbove = false;
        if(ruleAbove == true){
            ruleAboveColor = app.colors.item("Black");
            ruleAboveGapColor = app.swatches.item("None");
            ruleAboveGapOverprint = false;
            ruleAboveGapTint = 100;
            ruleAboveLeftIndent = 0;
            ruleAboveLineWeight = .25;
            ruleAboveOffset = 14;
            ruleAboveOverprint = false;
            ruleAboveRightIndent = 0;
            ruleAboveTint = 100;
            ruleAboveType = app.strokeStyles.item("Solid");
            ruleAboveWidth = RuleWidth.columnWidth;
        ruleBelow = false;
        if(ruleBelow == true){
            ruleBelowColor = app.colors.item("Black");
            ruleBelowGapColor = app.swatches.item("None");
            ruleBelowGapOverprint = false;
            ruleBelowGapTint = 100;
            ruleBelowLeftIndent = 0;
            ruleBelowLineWeight = .25;
            ruleBelowOffset = 0;
            ruleBelowOverprint = false;
            ruleBelowRightIndent = 0;
            ruleBelowTint = 100;
            ruleBelowType = app.strokeStyles.item("Solid");
            ruleBelowWidth = RuleWidth.columnWidth;
        singleWordJustification = SingleWordJustification.leftAlign;
        skew = 0;
        spaceAfter = 0;
        spaceBefore = 0;
        startParagraph = StartParagraph.anywhere;
        strikeThru = false;
        if(strikeThru == true){
            strikeThroughColor = app.colors.item("Black");
            strikeThroughGapColor = app.swatches.item("None");
            strikeThroughGapOverprint = false;
            strikeThroughGapTint = 100;
            strikeThroughOffset = 3;
            strikeThroughOverprint = false;
            strikeThroughTint = 100;
            strikeThroughType = app.strokeStyles.item("Solid");
            strikeThroughWeight = .25;
        strokeColor = app.swatches.item("None");
        strokeTint = 100;
        strokeWeight = 0;
        tracking = 0;
        underline = false;
        if(underline == true){
            underlineColor = app.colors.item("Black");
            underlineGapColor = app.swatches.item("None");
            underlineGapOverprint = false;
            underlineGapTint = 100;
            underlineOffset = 3;
            underlineOverprint = false;
            underlineTint = 100;
            underlineType = app.strokeStyles.item("Solid");
            underlineWeight = .25
        verticalScale = 100;
    //Units & Increments preference panel
    //Must do this to make sure our units that we set are in points. The vert and horiz
    //units that get set default to the current measurement unit. We set it to points
    //so we can be sure of the value. We'll reset it later to the desired setting.
    with(app.viewPreferences){
        horizontalMeasurementUnits = MeasurementUnits.points;    // Ruler Units, horizontal
        verticalMeasurementUnits = MeasurementUnits.points;        // Ruler Units, vertical
    //General preference panel
    with(app.generalPreferences){
        pageNumbering = PageNumberingOptions.section;    // Page Numbering, View
        toolTips = ToolTipOptions.normal;                    // Tool Tips
    // Not supported in CS4
    //    toolsPalette = ToolsPaletteOptions.doubleColumn;    // Floating Tool Palette
        completeFontDownloadGlyphLimit = 2000;                // Always Subset Fonts...
        try {
            //Wrapped in try/catch in case it is run with CS4 and earlier to avoid the error
            preventSelectingLockedItems = false;                // Needed for CS5+
        catch (e) {}
    //Type preference panel
    with (app.textEditingPreferences){
        tripleClickSelectsLine = true;    // Triple Click to Select a Line
        smartCutAndPaste = true;        // Adjust Spacing Automatically when Cutting and Pasting Words
        dragAndDropTextInLayout = false;    // Enable in Layout View
        allowDragAndDropTextInStory = true;    // Enable in Story Editor
    with(app.textPreferences){
        typographersQuotes = true;            // Use Typographer's Quotes
        useOpticalSize = true;                // Automatically Use Correct Optical Size
        scalingAdjustsText = true;            // Adjust Text Attributes when Scaling
        useParagraphLeading = false;    // Apply Leading to Entire Paragraphs
        linkTextFilesWhenImporting = false;    // Create Links when Placing Text and Spreadsheet Files
    // Missing following (Font Preview Size, Past All Information/Text Only)
    //Advanced Type preference panel
    with(app.textPreferences){
        superscriptSize = 58.3;                // Superscript, size
        superscriptPosition = 33.3;            // Superscript, position
        subscriptSize = 58.3;                // Subscript, size
        subscriptPosition = 33.3;            // Subscript, position
        smallCap = 70;                        // Smallcap
    with(app.imePreferences){
        inlineInput = false;                // Use Inline Input for Non-Latin Text
    //Composition preference panel
    with(app.textPreferences){
        highlightKeeps = false;                    // Keep Violations
        highlightHjViolations = false;            // H&J Violations
        highlightCustomSpacing = false;            // Custom Tracking/Kerning
        highlightSubstitutedFonts = true;    // Substituted Fonts
        highlightSubstitutedGlyphs = false;    // Substituted Glyphs
        justifyTextWraps = false;                // Justify Text Next to an Object
        abutTextToTextWrap = true;                // Skip by Leading
        zOrderTextWrap = false;                    // Text Wrap Only Affects Text Beneath
    //Units & Increments preference panel
    with(app.viewPreferences){
        rulerOrigin = RulerOrigin.spreadOrigin;                    // Ruler Units, origin
    //    These are set at the end of the script after all the changes have been made
    //    horizontalMeasurementUnits = MeasurementUnits.points;    // Ruler Units, horizontal
    //    verticalMeasurementUnits = MeasurementUnits.inches;        // Ruler Units, vertical
        pointsPerInch = 72;                    // Point/Pica Size, Points/Inch
        cursorKeyIncrement = 1;                // Keyboard Increment, Cursor Key
    with(app.textPreferences){
        baselineShiftKeyIncrement = 2;    // Keyboard Increment, Baseline Shift
        leadingKeyIncrement = 2;        // Keyboard Increment, Size/Leading
        kerningKeyIncrement = 20;            // Keyboard Increment, Kerning
    //Grids preference panel
    with(app.gridPreferences){
        baselineColor = UIColors.lightBlue;    // Baseline Grid, Color
        baselineStart = 48;                        // Baseline Grid, Start
        baselineDivision = 6;                    // Baseline Grid, Increment Every
        baselineViewThreshold = 50;                // Baseline Grid, View Threshold
        baselineGridRelativeOption = BaselineGridRelativeOption.topOfPageOfBaselineGridRelativeOption;    // Baseline Grid, Relative To
        gridColor = UIColors.lightGray;            // Document Grid, Color
        horizontalGridlineDivision = 12;    // Document Grid, Horizontal, Gridline Every
        horizontalGridSubdivision = 12;            // Document Grid, Horizontal, Subdivisions
        verticalGridlineDivision = 12;            // Document Gird, Vertical, Gridline Every
        verticalGridSubdivision = 12;            // Document Grid, Vertical, Subdivisions
        gridsInBack = true;                        // Grids in Back
        documentGridSnapto = false;                // snap to grid or not
        documentGridShown = false;                // show document grid
    //Guides & Pasteboard preference panel
    with(app.documentPreferences){
        marginGuideColor = UIColors.violet;                // Color, Margins
        columnGuideColor = UIColors.magenta;            // Color, Columns
    with(app.pasteboardPreferences){
        bleedGuideColor = UIColors.fiesta;                // Color, Bleed
        slugGuideColor = UIColors.gridBlue;                // Color, Slug
        previewBackgroundColor = UIColors.lightGray;    // Color, Preview Background
        minimumSpaceAboveAndBelow = 72;                    // Minimum Vertical Offset
    with(app.viewPreferences){
        guideSnaptoZone = 4;                            // Snap to Zone
    with(app.guidePreferences){
        guidesInBack = false;                            // Guides in Back
    //Dictionary preference panel
    with(app.dictionaryPreferences){
        composition = ComposeUsing.both;    // Hyphenatin Exceptions, Compose Using
        mergeUserDictionary = false;    // Merge User Dictionary into Document
        recomposeWhenChanged = true;    // Recompose All Stories When Modified
    // Missing (Lang, Hyph, Spelling, Double Quotes, Single Quotes)
    //Spelling preference panel
    with(app.spellPreferences){
        checkMisspelledWords = true;                    // Find, Misspelled Words
        checkRepeatedWords = true;                        // Find, Repeated Words
        checkCapitalizedWords = true;                    // Find, Uncapitalized Words
        checkCapitalizedSentences = true;                // Find, Uncapitalized Sentences
        dynamicSpellCheck = true;                        // Enable Dynamic Spelling
        misspelledWordColor = UIColors.red;                // Color, Misspelled Words
        repeatedWordColor = UIColors.green;                // Color, Repeated Words
        uncapitalizedWordColor = UIColors.green;    // Color, Uncapitalized Words
        uncapitalizedSentenceColor = UIColors.green;    // Color, Uncapitalized Sentences
    //Autocorrect preference panel
    with(app.autoCorrectPreferences){
        autoCorrect = true;                            // Enable Autocorrect
        autoCorrectCapitalizationErrors = false;    // Autocorrect Capitalization
    // Missing (Language, Misspelled word pairs)
    //Display Performance preference panel
    with(app.displayPerformancePreferences){
        defaultDisplaySettings = ViewDisplaySettings.typical;    // Preserve Object-Level
        persistLocalSettings = false;
    // Missing (antialiasiing, greek below
    //Story Editor Display preference panel
    with(app.galleyPreferences){
        textColor = InCopyUIColors.black;                // Text Color
        backgroundColor = InCopyUIColors.white;            // Background
        smoothText = true;                                // Enable Anti-Aliasing
        antiAliasType = AntiAliasType.grayAntialiasing;    // Type
        cursorType = CursorTypes.standardCursor;    // Cursor Type
        blinkCursor = true;                                // Blink
    // Missing (Font, Size, Line Spacing & Theme)
    //File Handling preference panel
    with(app.generalPreferences){
        includePreview = true;                        // Always Save Preview Images with Doc
        previewSize = PreviewSizeOptions.medium;    // Preview Size
    with(app.clipboardPreferences){
        preferPDFWhenPasting = false;                // Prefer PDF When Pasting
        copyPDFToClipboard = true;                    // Copy PDF to Clipboard
        preservePdfClipboardAtQuit = false;            // Preserve PDF Data at Quit
    // Missing (Enable Version Cue)
    //    Optical margin (hanging punctuation, outside margins)
    with(app.storyPreferences){
        opticalMarginAlignment = false;
        opticalMarginSize = 12;                // pts
    //Wrap Up (do at end of script)
    //Units & Increments preference panel
    //Must do this to make sure our units that we set are in points. The vert and horiz
    //units that get set default to the current measurement unit. We set it to points
    //so we can be sure of the value. We'll reset it later to the desired setting.
    with(app.viewPreferences){
        horizontalMeasurementUnits = MeasurementUnits.picas;    // Ruler Units, horizontal
        verticalMeasurementUnits = MeasurementUnits.inches;    // Ruler Units, vertical
    //    These two flags are turned off to avoid the error message about
    //    missing image links when InDesign opens an ad. This can especially
    //    be a problem when doing batch processes.
    with(app.linkingPreferences){
        checkLinksAtOpen = false;            // checkbox: true/false
        findMissingLinksAtOpen = false;        // checkbox: true/false

  • I plugged my macbook pro into an external monitor, then unplugged it later and now it is stuck with black borders on top and bottom and zoomed out like it is still on the monitor. How do I fix it?

    I started using my external monitor with my macbook pro and as soon as I plug it in it to the monitor it adjusts the screen by zooming out a bit and creating about 3/4 of an inch black borders on the top and bottom of the screen. But these dont show up on the monitor so I assumed it was fine. But when I took it off the monitor, the borders were still there like it was still on the monitor. Any hellp? Its starting to mess with my eyes haha.

    Hi aefulcher,
    It sounds like you had the external display set to mirror the internal display so the resolution(s) were changed to match each other.
    OS X: How to use multiple displays with your Mac in Mountain Lion and earlier
    http://support.apple.com/kb/ht5019
    Check if the current resolution matches your screen's natiive resolution.
    Thank you for visiting Apple Support Communities.
    Nubz

  • How can I print the top and bottom halves of 11x17 PDF on 8.5x11?

    I have a multi-page 11x17 PDF of quiz cards designed to be printed double-sided so that a question appears on one side and the answer on the other side. (Page 1 has the questions; page 2 has the answers.)  My printer is 8.5x11 so I would like to print the top half of 11x17 page 1 onto 8.5x11 page 1 and the bottom half of 11x17 page 1 onto 8.5x11 page 2. Then I will flip the 8.5x11 pages over and repeat the process, this time printing 11x17 page 2.
    Is there a way to print the top and bottom halves of an 11x17 PDF onto two 8.5x11 pages?
    Thanks!

    The easiest solution I know of requires you to have a copy of Adobe InDesign. You can easily layout PDFs within InDesign in the configuration you want and create a new PDF.
    I don't know any way to print it directly in that layout, unfortunately.

  • Can you trim top and bottom black from videos?

    Hi
    I have a project where I need to make all my video clips the same height.
    Some of the clips are in widescreen, and I'd like to trim the black from the top and bottom so that I maximise the height of the footage.
    Can this be done in elements, and if not, are there any programs that you can do that in?
    Thanks for your time and help.
    Shaun

    John,
    Glad that you found it. I use it constantly, as I often animate my Titles with Keyframed Effects, and will just Copy/Paste Attributes to all. Same for Effects that are common to multiple Video (or Audio) Clips.
    One caveat: when planning on use it, do one Clip with the complete Effects line-up, then Copy. Select all other Clips that you wish to Paste Attributes to. If you have already added some Effects, beyond the Fixed Effects, you will get multiple instances of that/those Effect(s), i.e. if you have already added Color Correction to the destination Clips, an have Color Correction in your source Clip, you will likely get 2 instances of Color Correction. Plan ahead, so that you do not have to go back and Delete any duplicated Effects.
    Good luck,
    Hunt

  • How do I turn off the auto-scrol​ling Icon (gray bar with arrow at top and bottom)

    When reading and scrolling this gray bar with arrows on top and bottom shows uunder my curser, the next thing I know I am at the bottom of the page, it is driving me nuts please help. Playing games is almost impossible. Hate it.

    What mouse/drivers do you have? and what browser are you using?
    laptops- ex satillite l755-s5353 inspiron e1505 desktop dimension 400/300

  • Hi, Just switched from CS6 to PS CC. I am used to using ACR in CS6 with it's preview checkbox in the upper  right-hand corner. I do not see that checkbox in PS CC. I see that they have added side-by-side, right and left and top and bottom before and after

    Hi,
    Just switched from CS6 to PS CC. I am very comfortable using ACR in previous versions. I liked to use the preview checkbox located in the upper right-hand corner to see before and afters. That checkbox is no longer in my version of PS CC. I see that they have side-by-side, top and bottom and right and left before and after options in the lower right-hand corner in this version. Is there anyway to get that legacy preview checkbox back so that I can use it?

    Hi Warunicorn,
    Thank you very much. I just could not find it on my own. I will have more questions as I get into it.
    Jim

  • When I upgraded to the newer version of Firefox my add-on no longer showed at the bottom. How do I get the add-on to show at top and bottom? Do I need to go back to an older version?

    I upgraded Firefox to the newest version (4 I think it was from 3). Now my "add-on" no longer appears"at the bottom" of the screen, only at the top. Do I need to go back to the older version in order for the add-on to show at top and bottom? If so, how do I do that if I decide to do it?

    Your UserAgent string in Firefox is messed up by another program that you installed, and those websites don't know you are running Firefox 3.6.3 (which is what you do have installed).
    [http://en.wikipedia.org/wiki/User_Agent]
    type '''about:config''' in the URL bar and hit Enter
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''general.useragent.'''
    Right-click the preferences that are '''bold''', one line at a time, and select '''''Reset''''',
    Then restart Firefox

  • How can you make your persona show on the top and bottom? Also can you make it bigger at the top to show more of the picture?

    How can you make your persona show on the top and bottom?
    Also can you make it bigger at the top to show more of the picture?

    Add extra empty toolbars if you want to see more of the persona.<br />
    You can create extra toolbars to get extra space via View > Toolbars > Customize<br />
    You have to put something on a toolbar (drag a Space item onto it) before closing the Customize window because empty toolbars are automatically removed.<br />
    See http://kb.mozillazine.org/Toolbar_customization

  • Ghosting from top and bottom of the workspace edges when moving around workspace?

    When I move around the workspace dark grey slightly transparent bars appear to be ghosting from the top and bottom of the workspace. If I move so they go off screen they disappear but more are made as I move around. Tried restarting Illustrator and my laptop, I have the newest version of Illustrator CC.
    *Update - It appears to only happen in my one file, when an image I'm drawing over is put on a lower opacity. If I have it opaque there's no weird line ghosting, but as soon as I make it more transparent the lines start appearing.

    All I am doing is the following:
    import my mov file that is 1024 x 820
    create a sequence that is 1024 x 768
    export the sequence
    I made a video showing the steps (very boring, sorry).
    I'm sure there is something simple I'm missing. i'm 99% sure my result is wrong from the looks of it in the movie player.
    here is the video:  https://www.dropbox.com/s/5wjs8p3v0sjh8uv/livewriterdemo_fromcamtasia_final.mov

  • IMovie is outputting my movie with big black bars at top and bottom that I don't want

    Quicktime: Ver 10.3
    iMovie: Ver 10.0.5
    OS: OS X Ver 10.9.4
    So, let me try and explain...
    I have recorded gameplay footage of my game directly from my Mac screen using Quicktime's Record Screen option. I've tried recording both in fullscreen mode (with my game also running in fullscreen mode) and a section of the screen by dragging the mouse to select a 640X960 box (with my game running in windowed mode which is displayed at 640x960 resolution).
    This initial recording direct from the screen displays fine, both when I view it in windowed mode and when I view it fullscreen, with the height of the game stretching to the full height of the video area but obviously with big black borders to either side in fullscreen mode (as it's basically iPhone ratio in portrait mode).
    WindowedFullscreen
    This ^^^ is how they should look.
    The problem is when I try to import the movie into iMovie, mess around with some fade-ins and music and stuff and then output the edited movie via iMovie...
    When I then try to view this outputted movie in windowed mode on certain sites (Kickstarter) my game footage doesn't take up the full height of the video and instead floats in the middle with big black bars at the top and bottom, which I don't want. It's fine when I go fullscreen but the problem is that when I load this video into Kickstarter it shows the non-fullscreen view of the video with this big black border and it looks really amateur.
    This is what Kickstarter shows in windowed mode i.e. the way you see Kickstarter videos by default when you press Play; unless I go fullscreen and then it takes up the full heigh of the view.
    Note: Windowed mode actually looks fine when viewed directly on my Mac but I know it's not Kickstarter that is causing the issue because I can see in the thumbnail preview on my Mac that the video is somehow encoded with the big black bars at the top and bottom. Also, I uploaded the unedited videos to Kickstarter just to check and they display fine. So it's definitely iMovie that is adding these annoying black borders at the top and bottom for whatever reason (and I'm not intentionally scaling the video down in iMove or anything like that as far as I know). I also can't use the unedited footage however because it has no sound and no transitions etc.
    Does anyone know what night be causing this and how to get rid of it.

    You are lucky to see anything - iMovie 5 is not really compatible with Snow Leopard, which only supports iMovie 6 and above.
    Snow Leopard only runs on Intel Macs. iMovie 5 was never written, AFAIK, for Intel, just for the PPC Macs they had in those old days!

  • How to align text at the top and bottom of a cell?

    I'm making a periodic table and need help with aligning text at the top and bottom of a cell. I'll have a picture in the middle of the cell with text above and below the pic. Thank you in advance for any kind of suggestions you can give me.

    It sounds as though you want to have 3 separate items inside of a single cell; text at the top of the cell, text at the bottom of the cell, and then a picture in the middle of the cell.  I am no expert, but to my knowledge that is not possible (someone please correct me if I am wrong.)  I also cannot figure out how to put a picture inside of a cell itself.
    I do have a way to accomplish the end result so long as what you need is the final look and not a useable table in numbers.
    Create 2-3 cells for each element.  (The middle cell, unless you can put pictures in a cell and I don't know, would just be there for peace of mind, but would hold the picture if you can, I would just do two if the pictures are to be in front of the cell anyway.)  The top cell align text to top on the Text tab of the inspector.  The bottom cell, align text to bottom on the same tab.  Then place the picture in the middle.  Now, you have what you want except there is one or two lines dividing the cells.  To get rid of this, either click the middle cell if you have one, or the top or bottom cell.  Click on the Cell tab of the inspector.  Select the bottom border and/or top border button and select "No Border" under border styles.  To make this fast, select a full row at a time, or use command click to select all of the same type of rows (middle, top, or bottom) and change all cells at once.
    I hope this helps.  Best of luck!
    ~Bret

  • HT202879 how do i add a line to the top and bottom of a text box only

    i have a text box in my Pages document but i need to be able to add a line tot he top and bottom only to my text box. can i pleae get some help.

    Hello alegna23,
    To add a line just to the top and bottom of a text box, you will need to add the two lines as shapes.  Follow the steps below to add a line to your document:
    Add a shape
    Click Shape in the toolbar.Click the arrows to see more shape styles.
    Select a shape to add it to the page.
    In step 2, select a line and use the squares on the end of the line to help resize the line.  You can find the full article here:
    Pages Help for Mac - Add and edit shapes
    http://help.apple.com/pages/mac/5.0/#/tan9ad18c384
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I have an 11" Macbook Air. When I use Garageband it opens in a window so large that the bottom corner is not accessible so I can't decrease the window so that I can see the top and bottom of the window at the same time. Any suggestions?

    When I use Garageband the window is so large that I can't reach the bottom corner to decrease the window to fit inside the display so that I can see the top and bottom of the window at the same time.
    Any suggestions?

    You can reduce the window by grabbing any edge or corner.   You don't have to use the bottom right anymore.
    You could also temporarily move the dock to the left/right so you can reach the bottom.

  • Get rid of the white space at the top and bottom of the report when Printing as PDF document

    Hello All,
    I have a wider tablix report which is 29 inches wide. I have given the paper size as custom and width as 29 and height as 11 in report properties.I have deployed it and saved it as PDF document. When I print preview the report I am using the paper size as
    tabloid (17 by 11) and selected the orientation as Landscape. I am getting the full report without any stripping but I am getting some extra space at the top and bottom when I print the report. Can anyone help me how to get rid of this space? . I checked the
    margins for the report and it was 0in. Please help.
    Thank You

    Hi There
    In Reporting Services (SSRS 2008), there are white spaces preserved in the report body by default. When the white space extends the body size beyond the width of the report, blank pages will be generated. To avoid the issue, you can set the “ConsumeContainerWhiteSpace”
    property of the report to “True”.
    Please try to adjust your margins (top + side) and hopefully this problem will get resolved
    Body Width <= Page Width - (Left Margin + Right Margin)
    Horizontal usable area:
    X = Page.Width - (Left Margin + Right Margin + Column Spacing)
    Vertical usable area:
    Y = Page.Height - (Top Margin + Bottom Margin + Header Height + Footer Height)
    Body Width <= Page Width - (Left Margin + Right Margin)
    Horizontal usable area:
    X = Page.Width - (Left Margin + Right Margin + Column Spacing)
    Vertical usable area:
    Y = Page.Height - (Top Margin + Bottom Margin + Header Height + Footer Height)
    If you have any questions please ask.
    Many Thanks
    Syed Qazafi Anjum
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.

  • Preview pdf shows different borders/ top and bottom

    in iphoto, made a book, the preview pdf is not matching the book created, in a way that some top and bottom borders are NOT bleeding off the page, however in the iphoto book layout the entire photo is bleeding off the page. any ideas on pdf? I'm wondering if the pdf is showing the trim and bleed crops.

    Hi,
    Thanks for the advice. Here's the latest with my 'black borders top and bottom in iMovies' problem:
    I found out that if I converted the .VOB files into .DV files (using MPEG Streamclip) instead of converting them to Quicktime files, then when I import these .DV files into iMovies the black borders are no longer there. So it seems like the problem was something to do with Quicktime files in iMovies.
    But then there was another problem:
    After waiting quite a while for MPEG Streamclip to finish it's work of converting the .VOB files into .DV files, and then waiting a bit longer to import the .DV files into iMovies, I was ready to work on editing the clips. But whenever I added either a fade in or fade out to a clip, I saw that during the time of the fade in or out, the picture was all distorted with thin vertical lines running through the entire picture.
    So I had to do more trouble shooting:
    I went back to MPEG Streamclip to have a little play around in there. When I made the .DV files before I used the compressor setting DVC Pro 50, so I changed this to the DVC Pro 25. I made a short .DV clip using this compressor and tried it out in iMovies and there was no problem with the vertical line distortion. Just to make sure I made another small .DV clip using DVC Pro 50 as before, imported that into iMovies and again, during the fade in/out effects this distortion came back again. So it seems like I sorted that problem out too.
    Ian.

Maybe you are looking for

  • JBO ERROR message while finding a detail row by rowkey....

    HI, in my application module i have the master viewobject "SelectionClasseVO" and the restricted detail view object "ClasseHistoriqueVO" via the viewlink "ClasseHistoriqueVL". in my master JSP i have the code : <jbo:ApplicationModule id="amCP111" con

  • Me or my pc can't see my songs, but they are still on my Ipod.

    Me or my pc can't see my songs, but they are still on my Ipod. I've connected my Ipod to my pc, and suddenly there were no songs left, but when I checked it, was the memory still full, like before. I've disconnected my Ipod and suddenly there were al

  • Creation of Fault message in XI

    Hi, I am using BAPI_PO_CHANGE which does not raise any exceptions. After importing BAPI_PO_CHANGE in XI it does not displays any fault message structure as it does not throw any exception. But i want to send a fault message whenever the return table

  • Tomcat not starting up!

    i had tomcat installed and running until i installed the sun java studio creator. when i did that, tomcat would not start! i tried removing it and reinstalling it on port 8085 (i thought it would conflict with the studio creator's port number) but it

  • Displaying iPad on TV using Apple TV

    I have bought an Apple TV and wish to display my Mini iPad on my TV. I understand I have to select Airplay in Control Centre to do this but there is no Airplay button showing in my Control Centre.   I have iOS 7 installed on my iPad.  How do I get Ai