Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write a query to get last 10 records from the table.

Answers were Sorted based on User's Feedback



Write a query to get last 10 records from the table...

Answer / hussain

select * from emp minus select * from emp where rownum<=
(select count(*)-10 from emp);

Is This Answer Correct ?    0 Yes 3 No

Write a query to get last 10 records from the table...

Answer / v.siva ramudu

SELECT CNUM,FNAME, DEPTNO
FROM COMPANY
WHERE CNUM <= 10;

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More SQL PLSQL Interview Questions

What is sqlca in db2?

0 Answers  


What is java sql drivermanager?

0 Answers  


What is the sql query to display the current date?

0 Answers  


What are stuff and replace function?

0 Answers  


ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..

0 Answers   Wipro,


What is a left inner join?

0 Answers  


write a query to delete similar records in different tables with same structure

4 Answers  


How to create a view on a table which does not exists

4 Answers   Oracle, TCS,


Can a foreign key have a different name?

0 Answers  


Mention what plvcmt and plvrb does in pl/sql?

0 Answers  


difference between oracle 8i and oracle 9i

8 Answers  


What is execution plan in sql?

0 Answers  


Categories