单选题
Examine this description of the EMP table:
Name Null? Type
EMPNO NOT NULL NUMBER (4)
ENAME VARCHAR2 (10)
SAL NUMBER (7, 2)
DEPTNO NUMBER (2)
You execute this query:
SELECT deptno AS "departments", SUM (sal) AS "salary"
FROM emp
GROUP | BY 1
HAVING SUM (sal)> 3 000; What is the result?
相关试题
单选题
Choose the best answer.
Examine this query:
SELECT TRUNC (ROUND(156.00,-2),-1) FROM DUAL;
What is the result?
单选题
Choose the best answer
Examine the description of the PRODUCT_INFORMATION table:
Name NULL? Type
------------------------------------------------------------------------
PROD_ID NOT NULL NUMBER(2)
PROD_NANE VARCRAR2 (10)
LIST_PRICE NUMBER(6,2)
Which query retrieves the number of products with a null list price?
单选题
Choose the best answer.
Examine this query:
SELECT 2 FROM dual d1 CROSS JOIN dual d2 CROSS JOIN dual d3; What is returned upon execution?
单选题
Choose the best answer
You have been asked to create a table for a banking application.
One of the columns must meet three requirements:
单选题 Choose the best answer. Examine the description of the EMPLOYEES table: Name Null Type ---------------------------------------------------------- EMP_ID NOT NUL NUMBER EMP_NAME VARCHAR2 (40) DEPT_ID NUMBER(2) SALARY NUMBER(8,2) JOIN_DATE DATE Which query is valid?
单选题
Choose the best answer
Examine the description of the CUSTOMERS table:
Name Null? Type
-----------------------------------------------------------------------------------------
单选题
Choose the best answer
The CUSTOMERS table has a CUST_LAST_NAME column of data type VARCHAR2.
The table has two rows whose COST_LAST_MANE values are Anderson and Ausson.
Which query produces output for CUST_LAST_SAME containing Oder for the first row and Aus for the second?
单选题
Choose the best answer
The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of data type DATE
You want to display the date of the first Monday after the completion of six months since hiring
The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is the first day of the week
Which query can be used?