Skip to content
Advertisement

i have birthdate in the table , i need to find age between 30 to 70 how can I write sql query for that? [closed]

begin age and end age find where age is between 30 to 70 i just have birth date in table

Advertisement

Answer

Use date comparisons. Something like the following, depending on whether or not you want to include the end years:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement