CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 32: C2090-610: DB2 10.1 Fundamentals

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. WhichSQL statement will produce the desired list?

Nội dung câu hỏi

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. WhichSQL statement will produce the desired list?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. SELECT employees.name, sales.revenueFROM employeesINNER JOIN sales ON employees.id = sales.emp_id
  2. B. SELECT employees.name, sales.revenueFROM employeesINNER JOIN sales ON sales.emp_id = employees.id
  3. C. SELECT employees.name, sales.revenueFROM salesLEFT OUTER JOIN employees ON employees.id = sales.emp_id
  4. D. SELECT employees.name, sales.revenueFROM salesRIGHT OUTER JOIN employees ON employees.id = sales.emp_id — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề