1.Find last 5 records. 2. find unique records.
AnswerBot
1y
To find the last 5 records, use the ORDER BY clause with a descending order and limit the result to 5. To find unique records, use the DISTINCT keyword.
To find the last 5 records, use the ORDER BY cla...read more
SHARAYU SADASHIV PHULE
2y
Select * from ( select emp.*, rownum from emp order by rownum desc) where rownum <=5;
SHARAYU SADASHIV PHULE
2y
Select * from ( select emp.*, rownum from emp order by rownum desc) where rownum <=5;
SHARAYU SADASHIV PHULE
2y
Select * from ( select emp.*, rownum from emp order by rownum desc) where rownum <=5;
SHARAYU SADASHIV PHULE
2y
Select * from ( select emp.*, rownum from emp order by rownum desc) where rownum <=5;
Anonymous
3y
select * from (select * from <table_name> order by rownum desc) where rownum <=5;
select unique(column_name PK) from <table_name);
Add answer anonymously...
Top Cognizant ETL Tester interview questions & answers
Popular interview questions of ETL Tester
Top HR questions asked in Cognizant ETL Tester
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app