专业技术初级资格程序员基础知识DB2
题目内容

Given an EMPLOYEES table and a SALES table, a user wants to produce a list of all employees and their associated revenue, even if no revenue exists. Which SQL statement will produce the desired list、

2024-07-09

A.SELECT employees.name, sales.revenue FROM employees INNER JOIN sales ON employees.id =sales.emp_id

B.SELECT employees.name, sales.revenue FROM employees INNER JOIN sales ON sales.emp_id =employees.id

C.SELECT employees.name, sales.revenue FROM sales LEFT OUTER JOIN employees ONemployees.id = sales.emp_id

D.SELECT employees.name, sales.revenue FROM sales RIGHT OUTER JOIN employees ONemployees.id = sales.emp_id

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端