问题详情

Click the Exhibit button and examine the data in the EMPLOYEES and DEPARTMENTS tables. You want to retrieve all employees, whether or not they have matching departments in the departments table. Which query would you use?()


A、SELECT last_name, department_name FROM employees NATURAL JOIN departments;

B、SELECT last_name, department_name FROM employees JOIN departments ;

C、SELECT last_name, department_name FROM employees e JOIN departments d ON (e.department_id = d.department_id);

D、SELECT last_name, department_name FROM employees e RIGHT OUTER JOIN departments d ON (e.department_id = d.department_id);

E、SELECT last_name, department_name FROM employees FULL JOIN departments ON (e.department_id = d.department_id);

F、SELECT last_name, department_name FROM employees e LEFT OUTER JOIN departments d ON (e.department_id = d.department_id)

时间:2022-01-10 18:26 关键词: 银行考试 农村信用社考试

答案解析

F