正解:A
To calculate the length of employment, you would compare the current date to the HIRE_DATE and calculate the difference in years.
A . This is the correct answer. The expression calculates the number of days between the current date (SYSDATE) and the HIRE_DATE, then divides by 365 to convert it to years, and checks if it is greater than 5.
B . SYSTIMESTAMP includes a time component including fractional seconds and time zone information, making this comparison incorrect.
C . There are typos in this option (CUARENT_DATE should be CURRENT_DATE and hire_data should be hire_date). Even with the correct function and column names, CURRENT_DATE returns the current date in the session time zone, not in years.
D . There are typos in this option (SYSNAYW should be SYSDATE). Additionally, dividing by 12 incorrectly assumes that a month is equivalent to a year.
E . This is a repetition of option D with the same issues.
F . There are typos in this option (CUNACV_DATE should be CURRENT_DATE and hire_data should be hire_date). Additionally, dividing by 12 incorrectly assumes that a month is equivalent to a year.
Reference:
Oracle Database SQL Language Reference, 12c Release 1 (12.1): "Date Functions"