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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use attributes of the implicit cursor in oracle?

554


How can we view last record added to a table?

591


What are the differences between date and timestamp in oracle?

549


hello friends Im doing my final year engineering in B.Tech.. one of uncle said he can provide job in his company if im good in database management. but i have only basic knowledge about database, so like to join database management course in good intuition. so friends kindly help me to get good intuition because its my future.

1748


How do you increase the OS limitation for open files (LINUX and/or Solaris)?

1460






What is dynamic proxy?

547


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1477


What does sharding mean?

533


How to drop a tablespace?

562


How to use "for" statements in oracle?

588


What are the ways tablespaces can be managed and how do they differ?

1612


How many types of auditing in Oracle?

561


can u send the sql dumps to sivakumarr1987@gmail.com plz help me

2588


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

1561


How to delete a column in an existing table in oracle?

596