iGET

Database (DBMS) - MCQ Practice Questions

DBMS & SQL MCQs — normalization, joins, transactions & indexing.

57 questions | 100% Free

Q.1Easy

Which SQL command is used to retrieve data from a database?

Q.2Easy

What does the WHERE clause do in SQL?

Q.3Easy

Which keyword is used to eliminate duplicate rows in SQL results?

Q.4Easy

What is the correct syntax for inserting data into a table?

Q.5Easy

Which SQL aggregate function returns the total sum of a numeric column?

Q.6Easy

What will be the output of: SELECT COUNT(*) FROM employees;

Q.7Easy

Which statement is used to modify existing data in a table?

Q.8Easy

In SQL, which clause is used to filter groups based on aggregate function results?

Q.9Easy

Which data type in SQL is used to store large text documents or binary data?

Q.10Easy

What is the purpose of the DISTINCT keyword in SQL?

Q.11Easy

Which SQL JOIN returns only matching rows from both tables?

Q.12Easy

What will be the result of: SELECT 10 % 3; in SQL?

Q.13Easy

What is the result of: SELECT CASE WHEN 1=1 THEN 'A' WHEN 2=2 THEN 'B' ELSE 'C' END;?

Q.14Easy

Which SQL command is used to remove all records from a table without removing the table structure?

Q.15Easy

In a student enrollment database, you need to find students enrolled in multiple courses. Which JOIN type should be used to match course_id from enrollment table with course table?

Q.16Easy

What is the default sort order for ORDER BY clause in SQL?

Q.17Easy

Which aggregate function ignores NULL values in SQL?

Q.18Easy

Which SQL statement is used to add a new column to existing table?

Q.19Easy

Which feature of SQL allows preventing duplicate values in a column?