Question: Question 1 ( 4 points ) Listen Consider a table EMPLOYEES with an attribute HIRING _ DATE that holds the date where an employee was

Question 1(4 points)
Listen
Consider a table EMPLOYEES with an attribute HIRING_DATE that holds the date where an employee was hired as a date data type. Which of the following queries display the employees hired before 2019?
SELECT *
FROM EMPLOYEE
WHERE HIRING_DATE 2019
SELECT *
FROM EMPLOYEE
WHERE YEAR(HIRING_DATE)2019
SELECT NAME
FROM EMPLOYEE
WHERE TO_DATE(HIRING_DATE, '%Y')2019
SELECT **
FROM EMPLOYEE
WHERE DATE_FORMAT(HIRING_DATE -2019,'%Y'')>0
 Question 1(4 points) Listen Consider a table EMPLOYEES with an attribute

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!