Connecting Tech Pros Worldwide Help | Site Map

How to find who is eldest from date of birth

Newbie
 
Join Date: Jul 2008
Posts: 29
#1: Sep 19 '08
how can we find who is eldest from his date of birth
amitpatel66's Avatar
Moderator
 
Join Date: Mar 2007
Location: Hyderabad, India
Posts: 2,192
#2: Sep 19 '08

re: How to find who is eldest from date of birth


What you are exactly trying to do here?
Newbie
 
Join Date: Jul 2008
Posts: 6
#3: Sep 22 '08

re: How to find who is eldest from date of birth


hi
subtract the "date of birth" from "sysdate" to get the age and then find out who is eldest.
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,500
#4: Sep 22 '08

re: How to find who is eldest from date of birth


you can simply sort the database table as per date_of _birth field.
Reply