Internet Marketing Forum

Internet Marketing Forum


For Webmasters and Entrepreneurs
GoDaddy.com Hosting just $1.99/mo! - 468x60
|
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2012, 03:06:48 PM

Login with username, password and session length

I start with the premise that the function of leadership is to produce more leaders, not more followers.


- Ralph Nader

|-   Internet Marketing Forum > Online Business Discussions > Website Design and Maintenance > Database
+  

Query for Third Highest Salary

0 Members and 1 Guest are viewing this topic.
Pages: [1] Reply to Thread
Author Topic: Query for Third Highest Salary  (Read 211 times)
Offlinevikramrandhawa
Junior Member
vikramrandhawa is on a distinguished road
Joined: Sep 2011
Posts: 71


anonymous avatar

View vikramrandhawa\s Profile
India
notepad Sep 27, 2011, 02:35:51 AM #1
For Third Highest Salary from the employee table.

Select top1 salary from(select distinct top 2 salary from employee order by salary desc) a order by salary.

OfflineAceCoder
Junior Member
AceCoder is on a distinguished road
Joined: Oct 2007
Posts: 79



View AceCoder\s ProfileWWW
United States
notepad Sep 27, 2011, 06:56:09 PM #2
not sure what you're asking here ? Can you please elaborate ?

Latest Blog Post : PHP – Pass by Reference or Pass by Value

Summer Savings! $7.49 .com domains at GoDaddy.com!
Pages: [1] Reply to Thread


Code4Gold Internet Marketing Forum © 2006-2011 Resdaz Media LLC - All Rights Reserved
Forum Software Powered by SMF - © 2001-2008, Lewis Media. All Rights Reserved.