Please explain how its work?

Select distinct sal emp where 3 > = (select count (distinct sal) of emp b where a.sal > = b.sal);

The first point is like a cross join. The salary of a table is compared to each row in table B. It displays the result of all the lines whose salary is lower than the wage of the B table.

for example: 800 is less than or equal to all other treatments. It therefore appears 14 times. The number of records in the table is 14 years. 800 is therefore less than all salaries in table B.

Similarly, the 5000 salary is less than or equal to 5000 only as a record is displayed. Here it is the number of records for each resulting salary.

800 14
950 13
1100 12
1250 22
1300 9
1500 8
1600 7
2450 6
2850 5
2975 4
3000 6
5000 1

In the second stage when we make a separate, the salary will be shown as a separate value in ascending order.

Run the sub queries and understand the result. you will get a better understanding on step 1.

Select b.sal sal b emp emp where a.sal > = b.sal

Select count (*) number_of_times, sal from (select b.sal sal b emp emp where a.sal > = b.sal)

Sal group

Tags: Oracle Development

Similar Questions

  • I probed to "Always allow", "allow once" or "Block" for an incoming program. I accidentally click "block" and my program worked more! Please explain how I can allow the program to work again?

    I was probed to always select "allow", "allow once" or "Block" for an incoming program. I accidentally click "block" and my program worked more! Please explain how I can allow the program to work again?

    How can I reverse the error?
    Concerning
    JollyJ

    Without doubt blocked by any firewall you have installed, that being the review of the cases of your firewall settings that relate to this program

  • Please explain how to delete a computer IMAC?

    Please explain how to delete documents and files from my office? Why simple Apple does not offer an option to delete above under edit. This totally baffles me? How much easier would it be? I'm not tech savvy so I end up saving multiple copies of the same thing. Please help me, my inability to delete anything on this computer either this Apple drives me crazy and I can't face is no longer with this computer.

    Select them and press the command and DELETE keys, then choose Empty trash from the Finder menu. The menu option to remove is on the file menu.

    (145043)

  • Can someone explain how Vmotion works with the new Distributed vNetwork switches?

    So my days of ESX 3.5 I create a separate vswitch for my virtual switch Production and another for Vmotion and then connect the physical NIC I had planned on using for the production and VMotion switch.  Then I would make sure that these cards were physically connected to the trunk on the physical switch based on the vlan that I planned to use for each switch.

    So how has all this change vNetwork switches Distributed? I know that the vNetwork Distributed switch is created at the data center level, but I'm a little confused on exactly how it works. I have watched white papers, but hoped that someone could explain it in terms laymans for me...

    Also refer to this discussion:

    http://communities.VMware.com/thread/223379

    I think that the last post I did on this discussion help answer some of the specifics of your question about the connection of VMotion vs other connections.

  • T430s will not restart, can someone please explain how to use the 4 recovery discs?

    So I bought a Lenovo T430s, with Windows 8.1 almost 2 years (off warranty now). It comes frozen, has started to beep, then turns off, and now it won't restart. When I turn it on, it always goes to the black and blue screen that offers a Boot Menu and a Menu of Application. The Start Menu has 2 options: ATAPI CDO: MAST * beep * ADVD - RAM UJ8C2 and PCI LAN: IBA GE Slot 00C v1536 8.

    When I bought the laptop, it came with 4 disks. Two of them say "Windows 8 Recovery for Windows 8 Media products", and the other two say "operating system recovery disc, Windows 8 Pro (OEM Activation required 3.0)". "

    I don't know what that most of this way. Can someone explain how I can fix or restart my laptop? I wonder if I am supposed to use a bootdisk of some, although it is at a certain menu option... I really appreciate any help

    The first item in the Startup tab is 'Boot', Yes?

    Press enter and start > splash screen should display with something like a list of the Boot priority order .

    What do you see that listed there?

    Kind regards.

  • Assessment for vSphere exactly how its works

    Hello

    I need to install two ESX4.0 on two blades and VC to manage this in addition to a DR demo for a client. Currently, I'm a little lost with licenses to test because this first time for vSphere. For ESX 3.5 in the past, I asked just for the trial keys. Now, if I understand correctly (please, correct me if I'm wrong) trial key is not needed at all and all without entering a correct serial key vSphere products will work correctly for a period of time (60 days?). So I did not need the keys at all now for a demo just download the binaries.  Please confirm I'm here and takes account of the fact that I need to install TWO esx servers and a vcs. In the past I needed more licenses.

    Thank you in advance

    Installing vSphere, you have a license for the evaluation version. But for the virtual center you need a license to manage ESX servers.

    MCSE, VCP 310, VCP 410.

  • Please explain how can I empty my trash

    1. I have a windows xp home windows system.
    2. I don't remember how to empty my trash... I know that it has deleted items... Thank you... :)

    Hello.

    Right-click on it and select Empty trash. Make sure that there is nothing to import it before we do.

    Good luck

  • Please specify how sync works - I can't find a clear explanation anywhere! Parameters are be replaced? I think I lost a few bookmarks during a sync?

    I have 3 copies of firefox. I want all 3 to keep the same settings, bookmarks, etc.. When I open my browser in A device, and it starts to 'synchronize', it download my current settings for a server, or is it download the settings from a server?

    If I add bookmarks to firefox in the device, & then I add bookmarks and change some add-ons for firefox in device B, all the bookmarks and the modules will integrate? Or is the server by replacing the previous information from the device?

    My browser is not automatically connected whenever I open it. That's why I have lost a bookmark or two during the last sync I did? There is an error message telling me to re - connect with sync, & I don't always immediately.

    Is the problem that my password is not saved. I don't want Firefox to save passwords of websites.

    Hi alyab987,
    All parameters are the merger on the server and then distribute the merged at each Firefox facility attached to your sync account.

    Each of them will merge. It will only merge the settings that are selected to sync.

    Sometimes, the account will be dislocation. It is possible to test this by enabling / disabling or not Firefox stores passwords. I don't know what caused your computer disconnect.

    In order to disable the synchronization of your account passwords, click on any Firefox menu, then sync account name. Just make sure that the "passwords" are unchecked.

    I hope this helps.

  • Please explain the meaning of 'Deferred' in the JIRA bug database

    Dear Adobe team,

    I posted a few bugs recently and discovered this morning that they are now "closed" with a "Deferred" resolution

    Some of these bugs are

    https://bugs.Adobe.com/jira/browse/FB-26396

    https://bugs.Adobe.com/jira/browse/FB-26317

    https://bugs.Adobe.com/jira/browse/FB-26081

    Please explain how to understand this decision.

    My hypothesis is that the bugs remain open until they are solved in the next version.

    Why are these bugs closed or delayed?

    When the deferred bugs are reopened?

    Management will likely chime in here.

    Briefly, the bugs get carried over to the current version. They have reviewed again when planning continues for the next version.

    The only time wherever a bug/request is really dead is when it is marked as "retirement".

    Jason San Jose

    Software engineer, Flash Builder

  • I bought a windows 7 lp CAREB a year it worked fine some how its windows to say now not authentic

    I bought a windows 7 lp CAREB a year it worked very well some how its windows to say now not authentic please help

    [Moved from comments]

    Please run the Microsoft Genuine Diagnostics Tool then copy and paste the results into an answer here for further analysis:
    http://go.Microsoft.com/fwlink/?LinkId=52012

  • I changed my phone number, but I can't update the 'ACCESSIBLE AT' number on my Apple ID account Please can someone explain how I can change the number of 'ACCESSIBLE AT', to update my account with my new number?   Thank you.

    I changed my phone number, but I can't update the 'ACCESSIBLE AT' number on my Apple ID account Please can someone explain how I can change the number of 'ACCESSIBLE AT', to update my account with my new number?

    Thank you.

    Try going into settings > FaceTime and turn off FaceTime. Then go to Messages and turn off iMessage.

    Turn off your phone and then new.

    RETURN to FaceTime and turn it on again, even with iMessage. He has to try to reactivate and your new number should appear (you can see this more down in the addresses to send & receive). You may need to log into your Apple ID for this operation.

  • How to format a computer. Please explain to me in detail.

    How to format a computer. Please explain to me in detail.

    Hi Adam,.

    It is difficult to provide a targeted and response detailed when you have not provided any details yourself, but I suspect a generic tutorial will do.

    Try this series of videos that should help you: http://www.ehow.com/videos-on_5600_format-computer.html.  Start with the first and do them all to be sure because I am not sure of your reasons (or your operating system or how you setup or what you do or don't have not available (disks, backups,...).)

    I hope this helps.  If this were not enough, and then provide additional details yourself and we will do our best to provide more specific information, required to your situation.  What operating system?  Why are you in shape?  What are you trying ultimately to do (there are several options of format and in some cases that may involve or not drive that is bootable)?  What you are (your system drive, an extra drive, an external hard drive, flash player,...) of formatting?  Do you intend to partition the drive or having a single drive?  You have all disks restoration and installation needed as well as all the drivers you might need on disk or to a flash drive?  You have a backup and, if so, is it a full backup or full backup of image?

    Good luck!

    Kosh

  • I have an error in my event viewer: the fault bucket + 45216 0xD1_athr, type the name of the event 0: BlueScreen. Can someone please explain to me how to solve this problem.

    I have an error in my event viewer: the fault bucket + 45216 0xD1_athr, type the name of the event 0: BlueScreen

    Can someone please explain to me how to solve this problem. My computer shuts down whenever I get on the internet. I need some answers please.

    You have a problem with a driver Atheros.

    It could be the network card is bad or the driver is damaged.

    If it is a wireless card, try to connect to the router with an ethernet cable. See if you can get an updated driver from the computer manufacturer's website.

    http://msdn.Microsoft.com/en-us/library/ff560244 (v = VS. 85) .aspx

  • I just install an update of Adobe Reader and find now that I've lost all screen savers. Please can someone explain how I can get them all back!

    I just install an update of Adobe Reader and find now that I've lost all screen savers. Please can someone explain how I can get them all back!

    Hello

    try a restore of the system before this happened

    http://www.windowsvistauserguide.com/system_restore.htm

    If necessary do in safe mode

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode option with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.
  • Please explain these things in real time, how we will use and how it will effect

    Hi all

    Please explain these things in real time, how we will use and how it will effect

    Types of validation:

    • Depending on
    • Independent
    • None
    • Pair
    • Special
    • Table

    types of lists?

    Types of lists are:

    • List of values
    • Long list of values
    • List of POPs

    This help-

    Select a Validation Type for your entire value (user, administrator system and using Flexfields)

Maybe you are looking for

  • Invoice

    Hi there, I would appreciate if someone could answer my query. I received a bill for accession to the music that I never signed up for Apple. It has crossed my mind that it might be a scam, but I'm not if should I just ignore it? Thank you very much

  • Go to the first tab Alt - 1 does not

    For Firefox in Kubuntu 15.04 40. (installed costs) to go to the first tab with Alt-1 behavior no longer works.He has worked in previous versions of Firefox. This problem only happens "Alt - 1', Alt-2 and thus now work as expected."

  • With regard to P40 Yoga M.2 connection. What is SATA or PCIe?

    My question is in what regards connection m2 on the motherboard for Lenovo's Yoga P40. Is the SATA PCIe m2 connection or a connection hybrid? No where on any of the PDF files produced gives the specifications that the connection type is, other that t

  • YouTube videos don't play don't not using full screen

    Updated to OS X 10.11.2 and now videos from YouTube DO NOT play in full screen. There is a problem with SAFARI and OS X. Works fine in other browsers, but I don't have to use 2 or more browsers to use my Macbook Pro.  I know put paused and resumed th

  • Try to run Family Tree Maker 2010.

    All I get is. [Family Tree Maker 2010 has stopped working. A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is available.] When Windows will inform me with a solution? This has