6( The HR Department wants to display all the employees who were hired either on 01-JAN-2021 or 31-MAR-2021. Which among the statements should be executed? a. SELECT * FROM employees WHERE hire_date NOT IN ('01-JAN-2021', '31- MAR-2021'); b. SELECT * FROM employees WHERE hire_date LIKE '2021'; c. SELECT * FROM employees WHERE hire_date IN ('01-JAN-2021', '31- MAR-2021'); d. SELECT * FROM employees WHERE hire_date BETWEEN '01-JAN-2021' AND '31-MAR-2021'

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter8: Working With Advanced Functions
Section: Chapter Questions
Problem 4RA
icon
Related questions
Question

6(

The HR Department wants to display all the employees who were hired either on 01-JAN-2021 or 31-MAR-2021. Which among the statements should be executed?
a.
SELECT * FROM employees WHERE hire_date NOT IN ('01-JAN-2021', '31- MAR-2021');
b.
SELECT * FROM employees WHERE hire_date LIKE '2021';
c.
SELECT * FROM employees WHERE hire_date IN ('01-JAN-2021', '31- MAR-2021');
d.
SELECT * FROM employees WHERE hire_date BETWEEN '01-JAN-2021' AND '31-MAR-2021';
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning