i am using a query where i need to select the rows from users where age between (multiple ages)
like i have 3 users in table users with 3 fields :
ID | NAME | DOB
1 | A | 12-06-1980
2 | B | 12-06-1970
3 | C | 12-06-1990
4 | D | 12-06-1995
5 | E | 12-06-1985
now if i want the list of users under 25 the out put
NAME | DATE OF BIRTH
C | 12-06-1990
D | 12-06-1995
What the query whould be for this any idea ?
SELECT * FROM users WHERE DOB
? ANY IDEA