Sql For Database Construction MCQs with Explanations
Practice high-yield Computer Science & IT MCQs on Sql For Database Construction with worked academic solutions for PPSC, FPSC, CSS, PMS, NTS.
Questions
39
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
47 mins
Exam-Level PPSC FPSC CSS PMS NTS
Verified for Commission Syllabus • Oct 14, 2026
39
Verified Practice Questions
Interactive test mode with detailed academic worked solutions
Live Progress | 0/39 answered
✓ 0 correct
✗ 0 wrong
0% score
🎉 Set complete! All 39 questions answered.
Question 1 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Question 2 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A trigger is a stored program that is attached to a database.
Question 3 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The SQL command to create a table is:
Question 4 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A ________ is a stored program that is attached to a table or a view.
Question 5 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The DROP TABLE statement:
Question 6 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
SQL views can be used to hide:
Question 7 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The SQL statement to create a view is:
Question 8 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
To update an SQL view, the DBMS must be able to associate the column(s) to be updated with:
Question 9 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is NOT a type of SQL constraint?
Question 10 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A ________ is a program that performs some common action on database data and that is stored in the database.
Question 11 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
For what purposes are views used?
Question 12 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is an SQL virtual table that is constructed from other tables?
Question 13 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
When using the SQL INSERT statement:
Question 14 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is not an advantage of stored procedures?
Question 15 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A reason for using an SQL view to hide columns is:
Question 16 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is an SQL trigger supported by Oracle?
Question 17 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The SQL ALTER statement can be used to:
Question 18 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What SQL structure is used to limit column values of a table?
Question 19 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which is NOT one of the most common types of SQL CHECK constraints?
Question 20 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is an advantage of placing computations in SQL views?
Question 21 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:
Question 22 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The SQL statement used to create a view is CREATE VIEW.
Question 23 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The SQL MAKE TABLE command is used to construct tables, define columns, define column constraints and create relationships.
Question 24 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
SQL has a JOIN ON syntax that can be used to create inner joins and outer joins.
Question 25 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The SQL CHECK constraint is fully defined by the SQL-92 standard, and is consistently implemented by all DBMS vendors.
Question 26 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
SQL Server does not support the BEFORE trigger.
Question 27 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A updatable view has its own data.
Question 28 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The SQL DELETE statement is used to delete both the table structure and table data.
Question 29 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Common types of SQL CHECK constraints include range checks and limiting columns values.
Question 30 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
If any required (NOT NULL) columns are missing from the view, the view cannot be used for inserting new data.
Question 31 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
When a foreign key column is created without a corresponding foreign key constraint, we have created a "casual relationship" between the two tables.
Question 32 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Views can be used to show the results of computed columns.
Question 33 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A benefit of using a stored procedure is that it can be distributed to client computers.
Question 34 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A stored procedure is a program that performs some common action on database data and is stored in the database.
Question 35 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A SQL view is a virtual table that is constructed from other tables or views.
Question 36 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
There are three SQL data modification operations: insert, modify and delete.
Question 37 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
SQL statements can be embedded in triggers, stored procedures, and program code.
Question 38 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A view that contains a computed column can be easily updated.
Question 39 of 39
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Three types of triggers are: BEFORE, AFTER and EXCEPTION.
✓ Link copied to clipboard
Continue Your Practice
Next Practice Set → Advanced Mapreduce Concepts — Part 1
Master the next curriculum module with 40 exam-standard MCQs.
💡 Examiner's Advisory for Computer Science & IT
In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.
More Modules in Computer Science & IT
View All → Advanced Mapreduce Concepts — Part 1
40 MCQs
Practice →
Advanced Mapreduce Concepts — Part 2
40 MCQs
Practice →
Advanced Sql
29 MCQs
Practice →
Advanced Trees _Avl_ Redblack_ Btrees — Part 1
40 MCQs
Practice →
Advanced Trees _Avl_ Redblack_ Btrees — Part 2
40 MCQs
Practice →
Applications Of Data Structures — Part 1
40 MCQs
Practice →