0
1
0.00
An error statement
第1题:
A. 0
B. 1
C. 0.00
D. An error statement
第2题:
Evaluate the SQL statement: SELECT LPAD(salary,10,*) FROM EMP WHERE EMP_ID = 1001; If the employee with the EMP_ID 1001 has a salary of 17000, what is displayed?()
第3题:
The EMPLOYEES table contains these columns: LAST_NAME VARCHAR2 (25) SALARY NUMBER (6,2) COMMISSION_PCT NUMBER (6) You need to write a query that will produce these results: 1. Display the salary multiplied by the commission_pct. 2. Exclude employees with a zero commission_pct. 3. Display a zero for employees with a null commission value. Evaluate the SQL statement: SELECT LAST_NAME, SALARY*COMMISSION_PCT FROM EMPLOYEES WHERE COMMISSION_PCT IS NOT NULL; What does the statement provide? ()
第4题:
Which SQL statement accepts user input for the columns to be displayed, the table name, and WHERE condition? ()
第5题:
Evaluate the following query: SQL> SELECT TRUNC(ROUND(156.00,-1),-1)FROM DUAL; What would be the outcome?()
第6题:
Evaluate the SQL statement: SELECT ROUND(45.953, -1), TRUNC(45.936, 2) FROM dual; Which values are displayed? ()
第7题:
17000.00
17000*****
****170.00
**17000.00
an error statement
第8题:
The two statements produce identical results.
The second statement returns a syntax error.
There is no need to specify DESC because the results are sorted in descending order by default.
The two statements can be made to produce identical results by adding a column alias for the salary column in the second SQL statement.
第9题:
The statement produces an error at line 1.
The statement produces an error at line 3.
The statement produces an error at line 6.
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.
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.
第10题:
The results are not sorted.
The results are sorted numerically.
The results are sorted alphabetically.
The results are sorted numerically and then alphabetically.
第11题:
0
1
0.00
an error statement
第12题:
All of the desired results
Two of the desired results
One of the desired results
An error statement
第13题:
Click the Exhibit button and examine the data from the ORDERS and CUSTOMERS tables.Evaluate the SQL statement:SELECT *FROM ordersWHERE cust_id = (SELECT cust_idFROM customersWHERE cust_name = ‘Smith‘);What is the result when the query is executed?()
A.A
B.B
C.C
D.D
E.E
第14题:
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? ()
第15题:
Evaluate this SQL statement: SELECT e.employee_id, (.15* e.salary) + (.5 * e.commission_pct) + (s.sales amount * (.35 * e.bonus)) AS CALC_VALUE FROM employees e, sales s WHERE e.employee_id = s.emp_id; What will happen if you remove all the parentheses from the calculation? ()
第16题:
Evaluate the SQL statement: SELECT ROUND(TRUNC(MOD(1600,10),-1),2) FROM dual; What will be displayed?()
第17题:
Evaluate the SQL statement: SELECT LPAD (salary,10,*) FROM EMP WHERE EMP _ ID = 1001; If the employee with the EMP_ID 1001 has a salary of 17000, what is displayed?()
第18题:
Which SELECT statement will the result ‘ello World’ from the string ‘Hello World’?()
第19题:
17000.00
17000*****
****170.00
**17000.00
an error statement
第20题:
17000.00
17000*****
****170.00
**17000.00
an error statement
第21题:
46 and 45
46 and 45.93
50 and 45.93
50 and 45.9
45 and 45.93
45.95 and 45.93
第22题:
The value displayed in the CALC_VALUE column will be lower.
The value displayed in the CALC_VALUE column will be higher.
There will be no difference in the value displayed in the CALC_VALUE column.
An error will be reported.
第23题:
The value displayed in the CALC_VALUE column will be lower.
The value displayed in the CALC_VALUE column will be higher.
There will be no difference in the value displayed in the CALC_VALUE column.
An error will be reported.
第24题:
16
100
160
200
150