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...

how to find the second highest salary from emp table?

Answer Posted / harish

select max(sal) from
emp where sal <(select max(sal) from emp)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create clustered index without primary key?

901


Why cannot I use bind variables in ddl/scl statements in dynamic sql?

1135


Is sql a backend language?

1043


how to return query output in html format? : Sql dba

1023


What is the use of partition by in sql?

931


What are the types of operators available in sql?

1011


What steps server process has to take to execute an update statement?

922


What is nosql db?

926


What are the sql commands?

1099


Explain how to use transactions efficiently : transact sql

926


what is the difference between a web-garden and a web-farm? : Sql dba

1012


Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

2072


How do you delete a table?

1001


What plvcmt and plvrb does in pl/sql?

1251


If the application is running very slow? At what points you need to go about the database in order to improve the performance?

949