Oracle – Tables and Views MCQ

Oracle – Tables and Views

1 / 21

1. What is the primary purpose of an Oracle table?

2 / 21

2. Which SQL statement is used to create a new table in Oracle?

3 / 21

3. In Oracle, what is a database view?

4 / 21

4. What does the SQL statement “CREATE VIEW” do in Oracle?

5 / 21

5. Which SQL command is used to add a new column to an existing Oracle table?

6 / 21

6. In Oracle, what is the purpose of a primary key constraint in a table?

7 / 21

7. What is the primary role of the SQL statement “ALTER TABLE” in Oracle?

8 / 21

8. In Oracle SQL, how can you delete a table and all its data?

9 / 21

9. Which SQL command is used to delete a table and all its data in Oracle?

10 / 21

10. In Oracle, what is the purpose of a foreign key constraint in a table?

11 / 21

11. What SQL statement is used to create a new table in Oracle?

12 / 21

12. Which Oracle SQL statement is used to create a new table based on the structure and data of an existing table?

13 / 21

13. In Oracle, what is the primary purpose of the CREATE TABLE AS statement?

14 / 21

14. What SQL statement is used to modify the structure of an existing table in Oracle?

15 / 21

15. In Oracle SQL, how can you remove an existing table and all its data?

16 / 21

16. Which Oracle SQL statement is used to create a temporary table that is visible to all sessions?

17 / 21

17. In Oracle, what is the purpose of a GLOBAL TEMPORARY TABLE?

18 / 21

18. What SQL statement is used to create a temporary table that is only visible to the current session in Oracle?

19 / 21

19. In Oracle SQL, what is the primary purpose of a LOCAL TEMPORARY TABLE?

20 / 21

20. What does the CREATE VIEW statement in Oracle SQL allow you to do?

21 / 21

21. Which SQL statement is used to create a new table in Oracle?

Your score is

0%