Juliet C. answered 07/11/22
Computer Science MIT SB, UPenn PhD; 10+ years WyzAnt tutoring
First, think about what the "QUERY DATE" column should be. The way to get the date that the query is run might be slightly different depending on what kind of SQL server you are using.
Second, think about how you need to compute the "YEARS EMPLOYED" column. The instructions do not refer to a field called EMP_YEARS. You need to compute the difference between the EMP_HIREDATE and the "QUERY DATE" and express it in terms of years. Look in the SQL documentation for a function that does this computation.