题目

Examine the description of the MARKS table: STD_ID NUMBER(4) STUDENT_NAME VARCHAR2(30) SUBJ1 NUMBER(3) SUBJ2 NUMBER(3) SUBJ1 and SUBJ2 indicate the marks obtained by a student in two subjects. Examine this SELECT statement based on the MARKS table: SELECT subj1+subj2 total_marks, std_id FROM marks WHERE subj1 > AVG(subj1) AND subj2 > AVG(subj2) ORDER BY total_ marks; What is the result of the SELECT statement?()

A、The statement executes successfully and returns the student ID and sum of all marks for each student who obtained more than the average mark in each subject.

B、The statement returns an error at the SELECT clause.

C、The statement returns an error at the WHERE clause.

D、The statement returns an error at the ORDER BY clause.

答案
查看答案
相关试题

在窗口上画一个名称为Text1的文本框和一个名为Command1的命令按钮,然后编写如下事件过程:程序运行后单击命令按钮,在文本框中显示的值是(  )。

A、2

B、3

C、4

D、5

FTP的匿名用户是什么?密码是什么?

EXHIBIT, Emp Table Exhibit A Exhibit B Examine the data from the EMP table. Evaluate this SQL statement: SELECT * FROM emp WHERE emp _ id = 3); WHERE commission = (SELECT commission FROM emp What is the result when the query is executed?()

A、 Exhibit A

B、 Exhibit B

C、 The query returns no rows

D、 The query fails because the outer query is retrieving more than one column

E、 The query fails because both the inner and outer queries are retrieving data from the same table.

在Word2003的编辑状态下,单击“粘贴”按钮后,()。

A、将剪贴板中的内容复制到当前插入点处

B、将剪贴板中的内容移动到当前插入点处

C、将文档中被选中的内容复制到剪贴板

D、将文档中被选择的内容复制到当前插入点处

以下哪个不是重命名域控制器时的要求()。

A、客户端能够无间断保持定位和验证重命名的与控制器

B、域功能级别为server2003

C、拥有管理员的权限

D、域功能级别为server2000

最新解答的试题
提出现代生物-心理-社会医学模式是()

A.恩格尔B.波特C.托马斯·帕茨瓦尔D.比彻尔E.桑德斯
付款人在进行付款时无()

A.形式审查义务

B.实质审查义务

C.附带审查义务

D.票据外有关事项的审查义务
根据《公司法》的规定,有限责任公司下列人员中,可以提议召开股东会临时会议的是()。
A.总经理B.人数过半数的股东C.监事会主席D.人数为半数的董事
关于股份有限公司中的监事会,下列说法错误的是()

A.监事会负责提议聘请或更换外部审计机构B.监事会主席和副主席由全体监事过半数选举产生C.监事会中的职工代表的比例不得低于三分之一D.监事会应至少每6个月召开一次会议
三北精神的科学内涵