题目内容

Evaluate the SQL statement: 1 SELECT a.emp_name, a.sal, a.dept_id, b.maxsal 2 FROM employees a, 3 (SELECT dept_id, MAX(sal) maxsal 4. FROM employees 5 GROUP BY dept_id) b 6 WHERE a.dept_id = b.dept_id 7 AND a. asl < b. maxsal; What is the result of the statement? ()

A. The statement produces an error at line 1.
B. The statement produces an error at line 3.
C. The statement produces an error at line 6.
D. The statement returns the employee name, salary, department ID, and maximum salary earned in the department of the employee for all departments that pay less salary then the maximum salary paid in the company.
E. The statement returns the employee name, salary, department ID, and maximum salary earned in the department of the employee for all employees who earn less than the maximum salary in their department.

查看答案
更多问题

平盖封头一般用于()。

A. 液化气储罐
B. 高压容器
C. 压力较低,直径较小的容器

医疗事故选用何种赔偿方式?

张某(男,23岁)与邻居李某有宿怨。2009年3月,张某胁迫孙某(男,20岁)和他一起殴打李某,致李某当即鼻血直流,被人送医院包扎处理,经鉴定为轻微伤。案发后,李某即向派出所报案,派出所对本案予以立案调查并询问了张某。经查,张某5个月前因殴打他人,被公安机关行政拘留10日。询问后,张某因害怕负法律责任,跑到外地打工,直至2010年春节回家过年时才被公安机关抓获。张某有哪些从重处罚的情节?

控制电缆线芯多采用的是()导体。

A. 铝
B. 铝合金
C. 铜
D. 铜合金

答案查题题库