HabitualLineSteppa
....Fuh Q.
Here it is...
I'm in a SQL server course presently and I am in dire need of assistance. To all my programming/DB heads, pardon the basic-ness of the following request however I've searched high and low and honestly the reading material in the course alludes me..
Here's the issue:
"Assuming that today’s date is 12/2/2025, create a temporary field that calculates the total service time (in years) of each
employee.
In the same query, use a CASE statement to identify employees who are over 54 years old and have over 20 years of service time with the company. Identify them as “Potential Retirees”".
For reference, these are the tables and column I at least KNOW this data will derive from
Table Names: Employee
Columns needing to be manipulated: employee.HireDate, employee.FirstName, employee.LastName, employee.age
Any help will be greatly appreciated!!!!
Reach one, teach one...

I'm in a SQL server course presently and I am in dire need of assistance. To all my programming/DB heads, pardon the basic-ness of the following request however I've searched high and low and honestly the reading material in the course alludes me..
Here's the issue:
"Assuming that today’s date is 12/2/2025, create a temporary field that calculates the total service time (in years) of each
employee.
In the same query, use a CASE statement to identify employees who are over 54 years old and have over 20 years of service time with the company. Identify them as “Potential Retirees”".
For reference, these are the tables and column I at least KNOW this data will derive from
Table Names: Employee
Columns needing to be manipulated: employee.HireDate, employee.FirstName, employee.LastName, employee.age
Any help will be greatly appreciated!!!!
Reach one, teach one...


Last edited: