Answer Posted / sudip chatterjee
If the table is salary.then
SELECT * FROM salary ORDER BY income DESC LIMIT 1, 1;
here income is one attribute of salary table......
just use it.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I remove all records from a table?
What are the two types of periodical indexes?
Mention what are different methods to trace the pl/sql code?
Is pl sql a programming language?
How do we accept inputs from user during runtime?
1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...
Write a query to display the current date in sql?
How many types of literals are available in pl sql?
what are the different index configurations a table can have? : Sql dba
How many types of indexes are there in sql?
how to get a list of all tables in a database? : Sql dba
what is view? : Sql dba
Does user triggers have entry for trigger with compilation errors?
Can a key be both primary and foreign?
What is a trigger word?