MySQL Forums
Forum List  »  PHP

Select users by age range
Posted by: Miro Igov
Date: January 31, 2006 06:16AM

Hello,

I have table which stores user details. The birth date is separated in birthday, birthmonth, birthyear fields.
What query i need to select all records in age range 18-21?

I'm using MySQL 4.x.

Options: ReplyQuote


Subject
Written By
Posted
Select users by age range
January 31, 2006 06:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.