find out the second highest salary?
Answer Posted / shachindra pandey
proc sql;
select id,name,population from populations where
population=(select max(population) from
populations
where population < (select max(population) from
populations));
quit;
| Is This Answer Correct ? | 18 Yes | 22 No |
Post New Answer View All Answers
What will be the syntax to find current date and time in format "yyyy-mm-dd"?
How to revoke create session privilege from a user in oracle?
Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.
How to export data with a field delimiter?
What is literal?
How do I use unicode codesets with the weblogic jdriver for oracle driver?
How to use "in" parameter properly?
How to define an oracle sub procedure?
What happens to the data files if a tablespace is dropped?
What do database buffers contain?
Write a trigger example in oracle?
How to empty your oracle recycle bin?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
What is data type in oracle?
How to get maxsal , minsal, ename department wise in single query