Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

find the third highest salary?

Answer Posted / purushotham

select level,max(sal)
from table
where level=3
connect by prior sal>sal
group by level

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between rank () row_number () and dense_rank () in sql?

1090


Why does sql need a server?

1020


What is the importance of sqlcode and sqlerrm?

1330


Why we use cross join?

938


What are different types of queries in sql?

1103


What is a native sql query?

1041


Is sql injection illegal?

1004


Difference between global and parameter variables?

1950


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

980


Does oracle roll back the transaction on an error?

1000


What are pl sql data types?

996


What is the difference between function and procedure in pl/sql?

1058


First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.

1572


What is program debugging?

1219


how can you see all indexes defined for a table? : Sql dba

976