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


Please Help Members By Posting Answers For Below Questions

Can we join more than 2 tables in sql?

489


How to call shell script from pl sql procedure?

624


What is sqlite format?

628


what are all different types of collation sensitivity? : Sql dba

523


What is sql clause?

539






What does data normalization mean?

525


What does an inner join do?

556


What is the primary use of normalization?

520


how to calculate expressions with sql statements? : Sql dba

524


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

2064


The select into statement is most often used to create backup copies of tables or for archiving records?

559


What is the difference between mdf and ndf files?

562


What do we need to check in database testing?

553


list out some tools through which we can draw e-r diagrams for mysql. : Sql dba

511


Explain what is an index?

582