Question: The DATE Column and Calculations
Learn how to calculate the age from the date using SQL query.
We'll cover the following...
Question
Given the following Employees
table structure:
Employees
EmpID | EmpName | DateOfBirth |
1 | Susan | 1993-07-15 |
2 | Alexa | 1990-09-22 |
3 | Diana | 1996-03-05 |
4 | Sarah | 1996-03-05 |
5 | Smith | 1998-11-18 |
6 | Carl | 1995-08-27 |
7 | Karen | 1991-04-19 |
...