试题详情
- 单项选择题 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.
- C
关注下方微信公众号,在线模考后查看
热门试题
- 下列哪个函数可以把一个列中的所有值相加求
- Given: If clas
- You work
- Which two statements
- In your multitenant
- What should
- 限制在数据库中创建的用户数,就要在数据库
- You need
- You want
- 在SQL*PLUS中显示数据库例程的内存
- You want to disable
- The BACKUP_TAPE_IO_S
- Which statemen
- Examine the&ens
- Which two&ensp
- You are c
- 当需要删除某个序列seq_custome
- Which four are attri
- Examine the followin
- Youwanttosetthefollo