Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 7 Not yet answered Marked out of 2 . 0 0 Which SQL query would retrieve the names of employees who work in
Question
Not yet answered Marked out of
Which SQL query would retrieve the names of employees who work in the HR department?
a None of the mentioned
b SELECT employeename FROM employees JOIN departments ON employees.departmentid departments.departmentid AND departmentname HR;
c SELECT employeename FROM employees INNER JOIN departments ON employees.departmentid departments.departmentid WHERE departmentname HR;
d SELECT employeename FROM employees WHERE departmentid SELECT departmentid FROM departments WHERE departmentname ;
e SELECT employeename FROM employees WHERE departmentname HR;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started