How can return max date row
A b c d e
1 2 1-mar-09 5 10
1 2 10-mar-09 5 10
Only using oracle predefined function. Not user defined.
Output:--
A b c d e
1 2 10-mar-09 5 10
Answers were Sorted based on User's Feedback
Answer / sivaraman (gasc)
select a,b,c,d,e from tbl_name where c = (select max(c)
from tbl_name)
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / apsar
select * from tal_name where rownum<=1 order by c desc
| Is This Answer Correct ? | 0 Yes | 0 No |
How to invoke the data pump export utility?
What is the difference between an Oracle Schema and an Oracle Instance?
What is Redo Log Buffer in Oracle?
How to turn on or off recycle bin for the session?
How to count duplicated values in a column in oracle?
How to revoke create session privilege from a user in oracle?
How to name query output columns in oracle?
How to establish administrator authentication to the server?
How to pass parameters to procedures in oracle?
How can one skip any number of rows while loading the DB tables with SQL Loader? Similarly how can one skip any column?
SELECT THE RECORDS FROM 3 TABLES LIKE(T1,T2,T3) AND HOW CAN WE INSERT THAT RECORD IN ANOTHER TABLE LIKE(T4)?
How to use subqueries with the exists operator in oracle?