oracle中查询记录的小问题,在线等 在EMPLOYEES 和DEPARTMENTS表里检查下列数据。 EMPLOYEES LAST_NAME DEPARTMENT_ID SALARY Getz 10 3000 Davis 20 1500 King 20 2200 Davis 30 5000 Kochhar 5000 DEPARTMENT_ID DEPARTMENT_NAME 10 Sales 20 Marketing 30 Accounts 40 Administration 如果你想获得所有的employees的last_name,department_name,不管他们是否匹配部门表中的部门,那么下面的查询语句正确的是() A.SELECT last_name,department_name FROM employees e JOIN departments d ON e.department_id(+) = d.department_id; B.SELECT last_name,department_name FROM employees e RIGHT OUTER JOIN departments d ON e.department_id = d.department_id; C.SELECT last_name,department_name FROM employees e, departments d WHERE e.department_id = d.department_id (+) D.SELECT last_name,department_name FROM employees e LEFT OUTER JOIN departments d ON e.department_id = d.department_id; 正确答案:CD