Oracle Database Quiz Questions

Course Name:Oracle
Chapter Name:Chapter 3 - Database Tables, Columns and Rows
Lesson Content Link:SQL
Current Quiz Count:30
Progress
0%
Q1
True / False

SQL stands for Structured Query Language.

Q2
True / False

SQL is only used in Oracle databases.

Q3
True / False

The SELECT statement in SQL is used to retrieve data from a database.

Q4
True / False

In Oracle SQL, the WHERE clause is used to filter records based on specified conditions.

Q5
True / False

SQL commands in Oracle are case-sensitive.

Q6
True / False

The INSERT statement in SQL is used to modify existing records in a table.

Q7
True / False

In Oracle SQL, subqueries can be used within a SELECT statement to perform nested queries.

Q8
True / False

The GROUP BY clause in Oracle SQL is used to aggregate data and summarize it by one or more columns.

Q9
True / False

Oracle SQL supports both inner joins and outer joins to combine rows from two or more tables.

Q10
True / False

The Oracle Certified Professional (OCP) exam includes topics on advanced SQL queries and performance tuning.

Q11
Single Choice

What does SQL stand for in Oracle?

Q12
Single Choice

Which Oracle SQL statement is used to retrieve data from a database?

Q13
Single Choice

In Oracle SQL, which keyword is used to remove duplicate rows from the result set?

Q14
Single Choice

Which of the following is a valid Oracle SQL statement to update data in a table?

SQL Code
UPDATE employees SET salary = salary + 500 WHERE employee_id = 101;
Q15
Single Choice

In Oracle SQL, what is the purpose of the GROUP BY clause?

SQL Code
SELECT department_id, COUNT(*) FROM employees GROUP BY department_id;
Q16
Single Choice

Which Oracle SQL clause is used to filter records in a SELECT query?

Q17
Single Choice

What does the following Oracle SQL query do?

SQL Code
SELECT employee_id, first_name, last_name FROM employees WHERE salary > ALL (SELECT salary FROM employees WHERE department_id = 50);
Q18
Single Choice

Which of the following SQL statements in Oracle uses a subquery to return employees with the same job as employee 101?

SQL Code
SELECT employee_id, first_name, last_name FROM employees WHERE job_id = (SELECT job_id FROM employees WHERE employee_id = 101);
Q19
Single Choice

What will be the result of the following Oracle SQL query?

SQL Code
SELECT department_id, MAX(salary) FROM employees GROUP BY department_id HAVING MAX(salary) > 10000;
Q20
Single Choice

Which Oracle SQL keyword is used to combine the results of two queries while removing duplicate rows?

Q21
Multiple Choice

Identify the SQL scripts that correctly create and manipulate database tables and columns in Oracle.

Q22
Multiple Choice

Select the SQL scripts that demonstrate correct use of the ALTER TABLE statement in Oracle.

Q23
Multiple Choice

Determine the SQL scripts that correctly implement constraints on database tables in Oracle.

Q24
Multiple Choice

Identify the SQL scripts that correctly use the DELETE and TRUNCATE statements in Oracle.

Q25
Multiple Choice

Choose the SQL scripts that demonstrate the correct use of JOINs in Oracle.

Q26
Multiple Choice

Determine the SQL scripts that correctly implement subqueries in Oracle.

Q27
Multiple Choice

Select the SQL scripts that correctly demonstrate the use of GROUP BY and HAVING clauses in Oracle.

Q28
Multiple Choice

Identify the SQL scripts that correctly use Oracle's analytic functions.

Q29
Multiple Choice

Determine the SQL scripts that correctly implement MERGE statements in Oracle.

Q30
Multiple Choice

Select the SQL scripts that demonstrate the correct use of the INSERT ALL statement in Oracle.