Computer · Database Management System · page 2 of 4
SQL Basics MCQs with Answers
Timed quizzes, instant results, track your progress — free
Practice these MCQs in the appSQL Basics MCQs (11–20)
10 MCQs with answers and a short one-liner. Hide answers to test yourself.
Past paper MCQs in this chapter · See all past papers
Answers and one-liners are hidden. Tap an option to check that question, or show all.
- 11.
In which area of database management does the privilege 'CREATE TABLESPACE' apply?
- 12.
Past Paper MCQ
An function is a dynamic mathematical calculation that displays a single value for a specific field in a dataset.
- 13.
After creating a table in a database, which of the following actions can still be performed?
- 14.
Which fixed database role allows for adding or removing user IDs in a database?
- 15.
Why is the following SQL query incorrect? SELECT dept_name, ID, avg(salary) FROM instructor GROUP BY dept_name;
- 16.
Which type of SQL join includes all rows from the left table and matches them with rows from the right table, filling in NULLs for non-matching entries from the right table?
- 17.
What is the purpose of the Cascade Delete option in a database management system?
- 18.
Which SQL query retrieves all records where the job title is 'Clerk' from the EMP table?
- 19.
When setting up a new table in a database, which method allows you to select fields from standard databases and tables?
- 20.
Which logging option should be enabled to create a binary log index file in a database system?