Does anyone know the meaning of this query

a question from 1z0-001 exam
SELECT manager_id, last_name, hire_date, salary, AVG (salary) OVER (PARTITION BY manager_id ORDER BY hire_date ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) AS C_mavg FROM employees;
i know partitions are created at the creation of table..but can they be created in selects??
what does ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING do?/
on what is the partition created..and can't we write a normal query other than this
thank u
rajiv

Analytics, man. "Partition" here is creating a moving window across the resultset. You could always run the code to see what it does. Alternativley, read the documentation.
Cheers, APC

Similar Messages

  • I am unable to sync my music in iTunes to my iPhone 4S.  The Sync button is disabled.  Does anyone know the solution to this?  Thanks.

    I am unable to sync my music in iTunes to my iPhone 4S.  The Sync button is disabled.  Does anyone know the solution to this?  Thanks.

    It may seem simple, but restart both devices.
    on the iPhone hold the sleep and home button until the phone rests (soft reset), then restart the iTunes app. Then plug the phone back in then sync again.

  • I purchased a Macbook Pro 17" with an I7 chip 2.4. Apple says you can go up to 8 GB of ram. I have read that it will support 16 GB. Does anyone know the answer to this?

    I purchased a MacBook Pro 17" with an I7 chip. Apple says that up tp 8GB of are supported. I have read that up to 16 GB are supported. Does anyone know the answer to this?

    If it's a 2011 model, the limit is 16GB. If it's a 2010 model, the limit is 8GB.
    (64363)

  • Does anyone know the name of this app?

    Does anyone know the name of the app which appears at 0:50 in the new video for iOS 5?
    This is the link to the video:
    http://www.apple.com/ios/ios5/gallery.html
    I'm not sure if this is the right place to ask, if not sorry.
    Thank you in advance.

    if you're talking about the game.......its called "cut the rope".........hope its your answer.........:D

  • Following the most recent IOS IPhone update our Iphone calendars, contacts and messages have all merged. This problem has never happened before. We all use the same Itunes account as a family and one AppleID. Does anyone know the cause of this problem?

    We have 4 Iphones. As a family we have happily shared the same ITunes account and one AppleID. After the most recent iPhone IOS update all our contacts and calendars have merged and we randomly receive some messages that one of us has sent to another contact.
    This is causing chaos.
    Can anyone help me with:
    1. Has anyone experienced a similar problem recently?
    2. The records to the individual phones have not been saved been saved separately. After this merging of all the data into one composite record, is there anyway to reverse the change and restore the phones to just their individual records?
    3. I guess that the cause may be the common AppleID. I have tried to create my own AppleID but my personal email address is already linked to the existing AppleID so I am blocked from setting up a separate AppleID in my own name. Does anyone know how I can get around this block?
    4. Would it be better to create a separate Apple ICloud address for each of us as well? How do I do this?
    Many thanks in anticipation,
    Peter

    This is exactly what happens when sharing a single Apple ID for iCloud and iMessage.  Why would you expect any different?

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • Mid 2010 MacBook pro took a keyboard spill.  It still works but display is sooo dark - like no backlight.  I think this is an LED screen.  Does anyone know the fix for this?

    Hi all...  My mid 2010 MacBook Pro took a keyboard spill.  It still works but the display is very very dark.  A faint image can only be seen at an angle in very bright light.  I think this model has an LED screen.  Can anyone please tell me what the fix for this is?  Thank you sooooo much! 
    < Email Edited By Host >

    Spill Cleaning
    Some liquid has just spilled into your Mac. What should you do?
    Do
    Immediately shut down the computer and unplug the power cord.
    Remove the computer's battery (if you can)
    Disconnect any peripherals (printers, iPods, scanners, cameras, etc.)
    Lay the computer upside down on paper towels to get as much liquid as possible to drip out.
    Note what was spilled on your Mac.
    Bring the computer into an Apple store or AASP as soon as possible.
    Don't
    Don't try to turn it back on. Liquids can help electrical current move about the components of your Mac in destructive ways.
    Don't shake the computer (this will only spread the liquid around).
    Don't use a hair dryer on it (even at a low setting a hair dryer will damage sensitive components).

  • My macbook model 7.1 will not start up unless connected to power supply even when it is fully charged. Does anyone know the cause of this?

    I have a 4 year old MacBook 7.1 that has worked wonderfully until today. I went to turn on my computer and it would not do so until it had been plugged into the power supply, and it was fully charged. Can anyone suggest what to do to fix this? DO I need to take it to an apple repair tech? Thanks

    Hello ssamaro13,
    I definitely understand your concern with your battery not powering your MacBook when the power adapter is disconnected.  I found a couple of resources that I think might help with this.
    The first thing I recommend is resetting the System Management Controller (SMC) on your MacBook:
    Resetting the SMC on portables with a battery you should not remove on your own
    Note: Portable computers that have a battery you should not remove on your own include MacBook Pro (Early 2009) and later, all models of MacBook Air, and MacBook (Late 2009).
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    You can find the full article here:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/ht3964
    If your battery is still not powering the computer when disconnecting the power adapter, the next thing I recommend is troubleshooting your MagSafe adapter using the steps in this article:
    Apple Portables: Troubleshooting MagSafe adapters
    http://support.apple.com/kb/ts1713
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Hi, i have a gopro and imovie11 wont let me import my hd videos. does anyone know the reason for this? i shoot them in hd but when i try to import them in hd it wont let me, please someone help me?

    i have a gorp and i need help importing my hd videos that i know i shoot in hd, to imovie 11. it wont let me click on them, there transparent and it wont allow it. can someone help me figure this problem out?

    Hi Ken,
    I had the same problem importing from my Gopro.  The solution I found was to open the movie using Quicktime.  Select "share" from the menu at the top of the page, then select iMovie.  It will convert it to a readable format as it loads it into iMovie.  Don't know why Apple makes a simple task so unintuitive.
    Dean

  • I bought a iphone 3gs from a friend and I was told to put in my sim card and connect it to the computer and it stays on the recovery screen, does anyone know the reason why this is happening?

    I dont know if its my computer because it says that the device is unknown and doesnt come up as apple mobile device but I've watched youtube videos that seemed like they had similiar problems but they didnt work for me. I've tried the whole home button thing,updating itunes and everything but the recovery screen still wouldnt go away. This is the first time I'm using an iphone so I'm totally clueless about whats happening.

    Installing a SIM card will never rectify the device being in recovery mode.
    Put the device in DFU mode and attempt to restore it as new via iTunes.  Google "DFU mode" for instructions.

  • Does anyone know the name of this kind of design?

    I've been trying different wordings trying to figure out how to find this specific design online, I've tried digital web, glitch web, can't really seem to find what this would be called. any ideas?
                http://fc04.deviantart.net/fs71/f/2013/032/9/a/sci_fi_web_by_emilwidlund-d5ti5if.jpg
    reminds me of connecting devices or something, can't figure it out.

    That's what I have been trying to find out since iOS 8 was released and no one seems to know.
    Am I correct to think it will be similar to the Dropbox/Box apps?

  • Hi! I've just purchased a new iPhone 5s but whenever I text people with iPhones it's always sent from my iCloud account. This means that my email show instead of my name/number which is really frustrating! Does anyone know how to stop this?

    Hi! I've just purchased an iPhone 5S but whenever I text people with iPhones it sends from my iCloud account. This means that my email comes up for other people not my name/number which is really frustrating! Does anyone know how to stop this?

    Go into Settings>Messages>Send and Receive> Is your phone number checked there? If you do not want your email used, then tap on them and remove the checkmark. If there is no checkmark by your phone number, then turn iMessage off, perform a reset on the phone, hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot. Turn iMessage on. When it activates, check your settings again under Send and Receive and make sure the number is checked and the emails are not.

  • Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    No. This is NOT true. I've been battling with this for a couple hours.
    I choose Export>Versions
    choose
    Subfolder Format: Project Name
    no custom subfolder
    Name Format: Current Version Name.
    Aperture creates project folders for each image and names them Projects1, Projects2, Projects3 etc.
    To be sure, I have no project named Projects
    x
    This particular Aperture library has 16 projects. you can see in the screen grab it's created more than 30 folders
    If I uncheck the Subfolder, that is say NONE, I just get images and images and images, not in their project folders (of course, because I've said NONE, so why would it put them in project folders?)
    I just want to export the entire library and have the versions placed in folders named by the projects from which they came.... ez enough, no?

  • There is a transparent color over my file in muse whenever I'm editing the file, does anyone know how to remove this?

    Here's a screenshot. I've tried everything to make it go away, including changing the browser fill color, but this just wont change. It does disappear when I preview the site online, though. Does anyone know how to remove this color? Thank you in advance!

    Hi Jessica,
    Please go to View > Click "Hide grid overlay".
    Regards,
    Aish

  • Hi. I get the following message when trying to update or install an application: "impossible to connect to iTunes store". Does anyone know how to fix this? Thanks!

    Hi. I get the following message when trying to update or install an application: "impossible to connect to iTunes store". Does anyone know how to fix this? Thanks!

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

Maybe you are looking for

  • Installation of Operations Manager 2012 R2 along with 2012

    Hi, I have an existing SCOM infra (Single SCOM server with version System Center Operations Manager 2012 (7.0.8560.0) ) Now I want to deploy SCOM 2012 R2 in 2 servers (Management server, operation console, web console ) on both the machines for high

  • Add new input field in vendor master

    Hi all, I need to add a couple of <b>new columns</b> to the "Alternative payee" screen in the vendor master (screen <b>SAPMF02K 1130</b>). Is this possible? Can I use a BADI, or maybe an enhancement/user exit? Thanks for all your replies, answers wil

  • Information on mapping  and how to configure the mapping?

    Hi All         Experts!!!  i am new XI and any one can provide the information mapping ?         Like purpose of mapping? how to configure ? what are different mappings?         In detail pls... Adv..thanks Cheers Rakesh

  • Separation Of Albums in Cover Flow

    It appears random that some of my albums "separate" in cover flow, even albums I've bought from iTunes. It may split into 2 albums, or as many as 6, in my experience. It looks like this: http://i188.photobucket.com/albums/z68/renegadofunk93/Picture1-

  • BADI : Substitution to determine segments based on MCH  [VERY VERY IMP]

    Hi Guys, I have to activate a BADI or a Substitution to determine segments based on MCH. Below mentioned are some technical details for BADI. Please try and use BADI; if BADI doesn't work we can use Substitution. Definition Name: AC_DOCUMENT Method :