RDBMS MCQ Test: RDBMS MCQs - Practice Questions
1. Which of the following is an example of a non-relational database?
2. Which SQL statement is used to add a new column to an existing table?
3. Which of the following is an example of an INNER JOIN?
4. Which SQL statement is used to grant specific privileges on a database object?
5. Which type of relationship is represented by a foreign key in a database?
6. In the context of databases, what is a cursor?
7. In the context of databases, what is a view?
8. What is the purpose of the COALESCE function in SQL?
9. In the context of databases, what is a materialized view?
10. Discuss the role of database partitioning and situations where it can improve performance.
11. Which of the following is an example of a database trigger?
12. Which SQL statement is used to delete data from a database?
13. Which SQL statement is used to add new data to a database?
14. What is the purpose of the LIKE operator in SQL?
15. What is the purpose of the GROUP BY clause in SQL?
16. Explain the concept of database normalization and its importance in database design.
17. What is the purpose of the CASCADE option in a foreign key constraint?
18. Examine the role of the EXPLAIN statement in SQL and how it can be used to optimize queries.
19. In the context of databases, what is a database trigger?
20. Discuss the concept of database sharding and its application in distributed database systems.
21. In a relational database, what is a stored procedure?
22. In the context of databases, what is a stored function?
23. Explain the concept of database indexing and its impact on query performance.
24. What is the purpose of the UNION operator in SQL?
25. Which of the following is a benefit of using stored procedures in a database?
26. What does CRUD stand for in the context of databases?
27. Discuss the advantages and disadvantages of using database triggers.
28. What is the purpose of the TRUNCATE statement in SQL?
29. Which SQL statement is used to revoke previously granted privileges on a database object?
30. What does the term 'Normalization' refer to in the context of databases?
31. In the context of databases, what is a transaction?
32. What is the purpose of the CHECK constraint in a database?
33. Which of the following is an example of a DDL (Data Definition Language) statement?
34. What is the purpose of the HAVING clause in SQL, and how is it different from the WHERE clause?
35. Define the concept of a NoSQL database and provide examples of scenarios where it might be more suitable than a traditional RDBMS.
36. What is the purpose of the FOREIGN KEY constraint in a database?
37. Discuss the concept of database denormalization and situations where it might be considered beneficial.
38. Examine the role of stored procedures in a database and provide examples of situations where they offer advantages.
39. Explain the concept of multi-version concurrency control (MVCC) in the context of database transactions.
40. What is the purpose of the JOIN operation in SQL?
41. What does SQL stand for in the context of databases?
42. Which of the following is an example of a database constraint?
43. Which of the following is not a primary key constraint?
44. Which of the following is an example of an aggregate function in SQL?
45. What is normalization in the context of database design?
46. What is the purpose of the HAVING clause in SQL?
47. What is the purpose of the DISTINCT keyword in a SELECT statement?
48. Which SQL clause is used to filter the results of a SELECT statement?
49. Examine the purpose of the GROUPING SETS clause in SQL and how it differs from the GROUP BY clause.
50. What does the term 'Concurrency Control' refer to in the context of databases?