可学答题网 > 问答 > 银行考试题库,农村信用社考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Click the Exhibit button and examine


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?()

  • ASELECT last_name, department_name FROM employees NATURAL JOIN departments;
  • BSELECT last_name, department_name FROM employees JOIN departments ;
  • CSELECT last_name, department_name FROM employees e JOIN departments d ON (e.department_id = d.department_id);
  • DSELECT last_name, department_name FROM employees e RIGHT OUTER JOIN departments d ON (e.department_id = d.department_id);
  • ESELECT last_name, department_name FROM employees FULL JOIN departments ON (e.department_id = d.department_id);
  • FSELECT last_name, department_name FROM employees e LEFT OUTER JOIN departments d ON (e.department_id = d.department_id)
参考答案
参考解析:
分类:银行考试题库,农村信用社考试题库
相关推荐

1、Click the Exhibit button to examine t

Click the Exhibit button to examine the data of the EMPLOYEES table. Evaluate this SQL statement:SELECT e.employee_id "Emp_id", e.emp_name "Employ...

2、Click the Exhibit button and examine

Click the Exhibit button and examine the data in the EMPLOYEES table.Which three subqueries work? ()ASELECT * FROM employees where salary > (...

3、Click the Exhibit button and examine

Click the Exhibit button and examine the data from the ORDERS and CUSTOMERS tables.Which SQL statement retrieves the order ID, customer ID, and...

4、Click the Exhibit button. What is the

Click the Exhibit button. What is the result?()A4321B0000CAn exception is thrown at runtime.DCompilation fails because of an error in line 18.

5、Click the Exhibit button and examine

Click the Exhibit button and examine the data in the EMPLOYEES table.On the EMPLOYEES table, EMPLOYEE_ID is the primary key. MGR_ID is the ID...

6、Click the Exhibit button and examine

Click the Exhibit button and examine the data from the EMP table.The COMMISSION column shows the monthly commission earned by the employee.Which...