CS1103/Labs/Lab5/Q9.sql
2022-10-07 00:48:09 -03:00

6 lines
189 B
SQL

select
MAX(EMP_HIREDATE) as `Hire date`,
EMP_FNAME as `First Name`,
EMP_LNAME as `Last Name`,
DATEDIFF(CURRENT_DATE, MAX(EMP_HIREDATE)) as `Days since hire`
from LGEMPLOYEE;