可学答题网 > 问答 > 1Z0-007题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Examine the description of the MARKS


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.
参考答案
参考解析:
分类:1Z0-007题库
相关推荐

1、Examine the description of the EMPLOY

Examine the description of the EMPLOYEES table:EMP_ID NUMBER(4) NOT NULLLAST_NAME VARCHAR2(30) NOT NULLFIRST_NAME VARCHAR2(30)DEPT_ID NUMBER(2)Which s...

2、Examine the description of the CUSTOM

Examine the description of the CUSTOMERS table:CUSTOMER_ID NUMBER(4) NOT NULLCUSTOMER_NAME VARCHAR2(100) NOT NULLSTREET_ADDRESS VARCHAR2(150)CITY_ADDRES...

3、Examine the description of the STUDEN

Examine the description of the STUDENTS table:Which two aggregate functions are valid on the START_DATE column?()A SUM(start_date)B AVG(start_date)C COUNT(start_date)D AVG(start_date, end_date)E MIN(start_date)F MAXIMUM(start_date)

4、Examine the description of the MARKS

Examine the description of the MARKS table:STD_ID NUMBER(4)STUDENT_NAME VARCHAR2(30)SUBJ1 NUMBER(3)SUBJ2 NUMBER(3)SUBJ3 NUMBER(3)SUBJ1, SUBJ2, and SUBJ...

5、Examine the description of the EMPLOY

Examine the description of the EMPLOYEES table:EMP_ID NUMBER(4) NOT NULLLAST_NAME VARCHAR2(30) NOT NULLFIRST_NAME VARCHAR2(30)DEPT_ID NUMBER(2)Which s...

6、Examine the description of the STUDEN

Examine the description of the STUDENTS table:STD_ID NUMBER(4)COURSE_ID VARCHARD2(10)START_DATE DATEEND_DATE DATEWhich two aggregate functions are val...