Write a query to get last 10 records from the table.
Answer Posted / swastik
SELECT ROWNUM, E1.*
FROM
(
SELECT * FROM Emp
ORDER BY ROWNUM DESC
)E1
WHERE ROWNUM <= 10
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can we join more than 2 tables in sql?
How to call shell script from pl sql procedure?
What is sqlite format?
what are all different types of collation sensitivity? : Sql dba
What is sql clause?
What does data normalization mean?
What does an inner join do?
What is the primary use of normalization?
how to calculate expressions with sql statements? : Sql dba
Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com
The select into statement is most often used to create backup copies of tables or for archiving records?
What is the difference between mdf and ndf files?
What do we need to check in database testing?
list out some tools through which we can draw e-r diagrams for mysql. : Sql dba
Explain what is an index?