How can I get the second and third highest salary from the emp table
How can I get the second and third highest salary from the emp table in the ecah Department
SQL> ed
Wrote file afiedt.buf
1 select empno, ename, sal, deptno
2 from (
3 select empno, ename, sal, deptno, dense_rank() over (partition by deptno order by sal desc) as rn
4 from emp
5 )
6* where rn in (2,3)
SQL> /
EMPNO ENAME SAL DEPTNO
---------- ---------- ---------- ----------
7782 CLARK 2450 10
7934 MILLER 1300 10
7566 JONES 2975 20
7876 ADAMS 1100 20
7499 ALLEN 1600 30
7844 TURNER 1500 30
6 rows selected.
SQL>
Tags: Database
Similar Questions
-
I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?
Don't know how to get the exact button back (sorry) I dig around too much to do...
But! Today, I found by chance that by clicking and holding on the back button the same box to popup in last-12-sites and you can stream on the list to return to that particular site.Not exactly what you (and me) tried but at least the functionality is there.
Good luck!
-
How can I get the six digit code for my iPad Pro? I have two other iPads and an iPod but I get the codes I get and the Pro is just disabled for longer and longer whenever he rejects these codes!
-
How can I get the tabs to go on a single line and a menu of Firefox?
Firefox allows to have 2 lines above - Firefox menu with tabs and more and another line of the navigation toolbar. during the installation of some programs online, Firefox now have 3 lines at the top, with the Firefox menu on an entire line, the 2nd line of tabs and 3rd line of navigation toolbar. How can I get the tabs to go on a single line and a menu of Firefox?
With the current versions of Firefox, you can choose to use the menu of Firefox (orange in windows; gray Linux) button at the left end of the Windows title bar or bar menus familiar as in earlier versions. The Firefox button is displayed by default only in Windows Vista and Windows 7, but you can turn on or off or switch between the two or temporarily show the menu bar when the Firefox button is displayed.
- See how, click here-> https://support.mozilla.com/en-US/kb/common-questions-after-updating-firefox#w_why-are-the-menus-file-edit-view-etc-missing
- Other changes after the upgrade-> https://support.mozilla.com/en-US/kb/common-questions-after-updating-firefox
If you chose to use the Firefox button and you use the default tabs on top, the tab bar will move to the title bar with the Firefox button only when you are to maximize window (the ' square' the middle button in the upper right corner of the Windows standard application window). Other selected toolbars will be displayed below that (bar Navigation, Bookmarks Toolbar and the toolbars you add via Add - ons).
- For toolbar, see Selections-> https://support.mozilla.com/en-US/kb/Back%20and%20forward%20or%20other%20toolbar%20items%20are%20missing
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Not related to your question, but...
You must update some plug-ins:
- Plugin check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
- Next-generation Java plug-in for the Mozilla browser: install or update Java in Firefox
-
How can I get my contacts and all the other stuff I had on the old email?
Original title: I changed my email because they said my old email was invalid... How can I get my contacts and all the other stuff I had on the old email? They said, it has been deleted
If my email isn't valid how I used it?
Hello
1. which email account you are referring to?
2. What is the version of Windows installed on the computer? For example, Windows 7, Vista
Please answer these questions and provide additional information so that we can better guide you.
-
I have all the games Age Of Empires, the versions of Windows and I changed to a Mac computers. How can I get the Mac version of the games and use my existing serial keys?
Hello
As you have bought Age of Empires for Windows OS, you will not be able to install the same copy of Age of Empire Windows version on Mac. However, you can contact the telephone support for confirmation on this issue.
Here is the link:
-
How can I get the exact time and date on my FAX LOG
I have a new HP Officejet 6500 has more on my Dell Inspiron Windows XP computer. How can I get the exact time and date on my FAX log?
Hi FrederickFrank7,
Journal of faxes would just follow the time of your printer. Please set the time and date of your printer.
I am an employee of HP.
Please indicate the position that solved your problem as "acceptable Solution". -
How can I get the rest of this virus off the coast? Ive found a bunch and them came down until I can get online but I can 't get to work stations or other programs. I have to run in safe mode to do anything properly. This is where I removed the malware and other viruses but I'm not sure it fixed stuff I need in normal mode.
How can I get the rest of this virus off the coast? Ive found a bunch and them came down until I can get online but I can 't get to work stations or other programs. I have to run in safe mode to do anything properly. This is where I removed the malware and other viruses but I'm not sure it fixed stuff I need in normal mode.
Just to add to the answer above, once you have completed the scan with Malwarebytes in SafeMode with network, restart the computer in normal mode, look for the Malwarebytes updates, then perform another analysis.
-
How can I get Outlook 2003 and 2007, to leave a copy of message on the server?
How can I get Outlook 2003 and 2007, to leave a copy of message on the server? I use Outlook 2003 and it keeps pulling messages out of my email account, I want at least a copy to be left there so that I can access it from anywhere and not just a computer. Thank you.
Also, I use Microsoft exchange server 2007, and this is the account where I would like a copy of stay so that emails are there when I try to access remotely and when I accidentally leave Outlook / my computer on.
-Ross
Hi Ross WA,
The concept behind Exchange is an inbox synchronized on all devices (computers, phones, PDA...) and you do not allow to leave messages on the server when it is in an Exchange environment. For more information on leave messages on a mail server, you can visit the following link:Microsoft Answers provides no support for Microsoft Exchange, even if you can post a question in the TechNet Forums here: http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/threadsI also recommend to contact who manages your Exchange Server as they know your specific Exchange Setup better.I hope this information helps and thank you for using Microsoft Answers!Cody C
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
the upgrade button would light up to go to the site because it says that there is an error... How can I get the appropriate upgrade 11 media to block the protection of licenses on those files that have built in accept them
Hello Gmirecords,
Thank you for your message. Please try the link below and let us know if the button to update this site is grey so.If the upgrade button is always grayed out, please follow the steps listed in the link below.See you soonEngineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.
-
I uninstalled the touchsmart from hp on vista and then tried the system restore, dad will kill me, how can I get the touch screen to work again?
Hello
You have a specific question for HP, it may be better if you ask in the Forums of HP's Support.
See you soon.
-
original title: help!
I downloaded a program to watch on my Media Player and when I press on play I have sound but no picture, only models. How can I get the picture?
What is the format of the video file?
If the extension is. AVI... no guarantee... but maybe
you need the XviD Codec.(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)XviD Codec
http://www.xvidmovies.com/codec/ -
How can I get the "network" icon in the taskbar? The box of 'network' in the bar of tasks and Start Menu Properties; Notification area; System icons, will not respond to what it is.
Use this tutorial:
http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html
Go to method 3.
3. for the network icon.
(B) to activate the icon network - Enable_Network.reg< click="" to="">
* Don't forget to restart to complete the procedure. ***
-
Moose title: How can I get the age of Mythology to work on windows vista
every time I put the disc in the computer installation screen dosnt pop up and nothing happens the disc passes just for a bit and stops, and the cursor hangs a bit and I can't get the disk to the computer unless I restart the computer
Hi rew55545,
(1) is this problem limited only to the age of Mythology disc?
(2) what version of the game you are trying to install?
Method 1: Run the fixit available in the link below and check if that makes a difference
Your CD or DVD drive cannot read or write media
http://support.Microsoft.com/mats/cd_dvd_drive_problems/en-us
Method 2: run the fixit available in the link below to resolve any problems with DVD player.Hardware devices do not work or are not detected in Windows
http://support.Microsoft.com/mats/hardware_device_problems/en-us
Method 3: Select the boot and then check if the problem persists
Follow step 1 in the link below,
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.
-
Gmail button (in internet explorer) keeps having moved to the right in my taskbar when I want to keep it on the left (that's why I first open). How can I get the taskbar buttons to stop randomly to reorganize and stay in order? I'm talking about the buttons on list of my open applications and documents in Windows Vista. The bar tasks are "locked", but the button of the window open with gmail in internet explore reappears suddenly in the good moments apparently random.
It is in the middle part of the taskbar (what I found online so far is on the start menu, the quick launch area or area/system tray of notification, the location of the taskbar in full, either about grouping taskbar - I disabled because I would like to separate). Can anyone help? I don't understand why this is happening (or why microsoft would never do).
Lock the taskbar that it prevents to be moved elsewhere on the office and maintains the different sections where they are - it does not block the tabs showing what is open where they were when they were opened. There is no control for this function. Maybe if you uncheck similar taskbar buttons group it will help, but I honestly don't know (and fear he won't make any difference - it may even make things worse). This also happens to me and I was unable to find an answer. I think that there are more than just random, but I can't telll you why he moves the legs periodically (sometimes it works fine all day and other days it happens almost immediately). But still, there is no control for this function, so there is no way to tell him to keep a specific order or to lock an established order, once it has been created. I suspect that it happens because the notification area icons appear and hide and new programs open and close and which changes the amount of space available and so he rearranges things so that they match and apparently does not always consider the original sequence in which the elements have been added. Maybe if you remove the Quick Launch toolbar and then add again, the order will reset (but that I know not - probably not in the original sequence, which I doubt is logged nowhere - it did not work when I tried it).
Unfortunately, I don't have a solution to this problem (and I spend a little time looking for even before myselff posed the question) and do not believe that there is a. It is also unfortunate that you can't move them so they can be put back in the right order if they change. I don't think that there is nothing wrong with your system or that it is something that can be repaired or fixed - it's just the way it is and we just have to live with it. I don't know any 3rd party software that controls the order of tabs open in the taskbar program (but you can check out Bing, Gooogle,www.tucows.comand www.download.com to see if I'm wrong on this - here n "t all when I looked trying to solve this problem for my own system).
I'm sorry it wasn't what you wanted to hear, but it's like that. I don't know if it's different in Windows 7.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
Maybe you are looking for
-
Cannot start normally my Qosmio
All my programs crashed once and I had to click on the turn-off/on button and shut down the computer. I started the computer, but then she does not even recognize my code. I restarted again, and the computer started something repair. Then he asked ho
-
How can I enter my Office Mozilla with a password?
I use Mozilla my access to the internet portal. Since I have some personal "bookmarks" can I use a password to enter Mozilla from my desktop, but I don't know how to do it. I use Google as my home page. Thank you.
-
Where can I find detailed instructions on how to set up printing wirelessly on HP 400 M451nw? Is it possible to have the two printing service via the USB port, as well as the wireless connection?
-
SmartDVD needs an update on Pavilion dv7 notebook
I have a HP Pavilion dv7 with windows 7 and I just recently tried to play a new blu - ray disc in my drive and every time I do a window pops up asking me if I'd check updates "Yes or no", when I click Yes the window disappears and it seems as if the
-
Screen goes black when you use the computer - Vista
Original title: SCREEN GOES BLACK, COMPUTER STILL WORKS. A MESSAGE CAME ON A MIRROR SCREEN, COMPUTER WORKS FINE IN SAFE MODECOMPUTER STARTS SOMETIMES, BUT SA SEEMS IF THE NETWORK IS ON THE DISPAY GOES OFF, A MESSAGE CAME ON SCREEN MIRROR, EVERYTHING