Write a query to get last 10 records from the table.
Answer Posted / nzabin
select PO_header_id from (select PO_header_id from PO_HEADERS_ALL order by PO_header_id
desc) where rownum <=10 order by PO_header_id;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is unique key constraint? : Sql dba
hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews
What does an inner join do?
How can I speed up sql query?
Explain the difference between triggers and constraints?
What is the most common sql injection tool?
What is a sql schema used for?
What is the difference between sql and isql*plus?
Can we rollback delete command?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc
Explain the purpose of %type and %rowtype data types?
What is a nested table in word?
what is the difference between rownum pseudo column and row_number() function? : Sql dba
How can you fetch first 5 characters of the string?
How do temporal tables work?