How to display last 5 records in a table ?
With out Top key word and doing order by desc
Advance thanks
Answers were Sorted based on User's Feedback
Answer / madhu
this is can acheieve by following query
select * from(select rowunum r,e.*from emp e) where
r>(select count(*)-5 from emp);
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / priyank
select * from emp
minus
select * from emp where rownum <= (select max(rownum)-5
from emp)
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain direct and indirect flat file loading (source file type) - informatica
How to elaborate tracing level?
In joiner, how to load Master table in Target?
How we can create indexes after completing the load process?
How can you access the remote source into your session?
I have a condition sal=100 and I created one router and in that two groups g1 and g2 in g1 Sal<=100 and g2 Sal>=100, first which condition will satisfy, and Why?
What is the difference between SOURCE and TARGET BASED COMMITS? What are the deliverables?in your project?
How to write a procedure for a date which is in three different formats,and you want to load into datawarehouse in any single date formate
What is incremental aggregation and how it is done?
8 Answers JPMorgan Chase, TCS,
What are the new features of informatica 9.x developer?
what is the dashbords?
difference between top down(w.h inmon)and bottom up(ralph kimball)approach?