nerdexam
IBM

C2090-320 · Question #41

Select the SQL statement which will list the employee(empno) and the project numbers(projno) from the EMPACT table that has an employee(empno) whose salary(salary) is in the top three salaries for…

The correct answer is A. SELECT empno, projno. oc/doc/r0059213.html

Column Analysis

Question

Select the SQL statement which will list the employee(empno) and the project numbers(projno) from the EMPACT table that has an employee(empno) whose salary(salary) is in the top three salaries for all employees from the EMP table.

Options

  • ASELECT empno, projno
  • BSELECT empno, projno
  • CSELECT ep.empno, projno
  • DSELECT ep.empno, projno

How the community answered

(67 responses)
  • A
    81% (54)
  • B
    10% (7)
  • C
    6% (4)
  • D
    3% (2)

Explanation

oc/doc/r0059213.html

Topics

#subquery#top-N salary#correlated query#EMPACT table

Community Discussion

No community discussion yet for this question.

Full C2090-320 Practice