Oracle_Test6 assesses understanding of SQL queries in Oracle, focusing on data manipulation and query outcomes. Key skills include interpreting SQL syntax and functionality, as well as precision in data handling. Ideal for learners enhancing database expertise.
Statements 1 and 2 will produce the same result.
Statement 1 will execute; statement 2 will return an error
Statement 2 will execute; statement 1 will return an error.
Statements 1 and 2 will execute but produce different results
Rate this question:
No difference, because the answer will always be NULL
No difference, because the result will be the same.
The result will be higher
The result will be lower
Rate this question:
10
Ename
Employee Name:
||
Rate this question:
34567.00
34567.23
34567.22
3456.22
Rate this question:
8
9
19
6
Rate this question:
EMPNO, unique values of ENAME and then SALARY are displayed.
EMPNO, unique values of the two columns, ENAME and SALARY, are displayed
DISTINCT is not a valid keyword in SQL
No values will be displayed because the statement will return an error.
Rate this question:
ORDER BY
WHERE
SELECT
FROM
Rate this question:
MILLER
7934
7876
No rows will be returned ename cannot be used in the ORDER BY clause
Rate this question:
4
2
A character column cannot be used in the BETWEEN operator
3
Rate this question:
1
5
4
No error; the statement will finish successfully
Rate this question:
.IN
BETWEEN .. AND
LIKE
.>=
Rate this question:
. 1, 3, 2
2, 1, 3
2, 3, 1
The order of these clauses does not matter.
Rate this question:
SELECT * FROM ORDERS WHERE PRODUCT_ID = 'DI%';
SELECT * FROM ORDERS WHERE PRODUCT_ID LIKE 'DI_' ESCAPE '\';
SELECT * FROM ORDERS WHERE PRODUCT_ID LIKE 'DI\_%' ESCAPE '\';
SELECT * FROM ORDERS WHERE PRODUCT_ID LIKE 'DI\_' ESCAPE '\';
SELECT * FROM ORDERS WHERE PRODUCT_ID LIKE 'DI_%' ESCAPE '\';
Rate this question:
SELECT country_name, region_id, CASE region_id = 1 THEN 'Europe', region_id = 2 THEN 'America', region_id = 3 THEN 'Asia', ELSE 'Other' END Continent FROM countries;
. SELECT country_name, region_id, CASE (region_id WHEN 1 THEN 'Europe', WHEN 2 THEN 'America', WHEN 3 THEN 'Asia', ELSE 'Other') Continen FROM countries;
SELECT country_name, region_id CASE region_id WHEN 1 THEN 'Europe' WHEN 2 THEN 'America' WHEN 3 THEN 'Asia' ELSE 'Other' END Continent FROM countries;
SELECT country_name, region_id, CASE region_id WHEN 1 THEN 'Europe' WHEN 2 THEN 'America' WHEN 3 THEN 'Asia' ELSE 'Other' Continent FROM countries;
Rate this question:
%
&
@
*
Rate this question:
02-APR-91
17-DEC-90
28-SEP-91
The query is invalid, because you cannot have a column in the ORDER BY that is not part of the SELECT clause.
Rate this question:
|
/
\
There is no default escape character in Oracle9i
Rate this question:
SELECT
WHERE
ORDER BY
None of the above
Rate this question:
SELECT first_name last_name salary FROM employees ORDER BY last_name WHERE department_id = 40;
SELECT first_name, last_name, salary FROM employees ORDER BY last_name ASC WHERE department_id = 40;
SELECT first_name last_name salary FROM employees WHERE department_id = 40 ORDER BY last_name ASC;
SELECT first_name, last_name, salary FROM employees WHERE department_id = 40 ORDER BY last_name;
SELECT first_name, last_name, salary FROM TABLE employees WHERE department_id IS 40 ORDER BY last_name ASC;
Rate this question:
Quiz Review Timeline (Updated): Mar 20, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.