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 first two highest salaries in deptno in emp
table

Answer Posted / santhosh kandula


if u want select the second highest salary from the emp
table then u have to write query as

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

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about relational operator join?

1042


How would you design a database for an online site, which would average a million hits a day?

1013


The count() function always returns a int value type what should you do if you need to count rows from a query which you know will return a value that is too large for an int value type?

999


If a column is an image value type, how you can compare column values? How can you use this column in join clause?

1004


What is an application role and explain a scenario when you would use one?

1012


How can you fix a poorly performing query?

1186


Explain the cube operator?

1011


On friday, you issued several insert statements using query analyzer. You then verified the data had been correctly entered with a select statement on monday, your users report that the data is not there what happened?

1001


You have two tables with a one to many join based on a field named id. You need to find records in the parent table that are not represented in the child table. how would you accomplish this?

1068


Explain the process of the user request and data generating?

1094


Write short notes on manual refreshes.

2734


What are the types of database model?

1097


I HAVE A PI ON COL A THE NEXT DAY I WANT CHANGE THE PI ON COL B? PLS SEND ME THE ANS

2857


What are the main phases of database development?

980


To convert IDMS to DB2, how to deal with IDMS occurs and redefined clause?

4009