Skip to main content

Introduction To Sql — Part 2 MCQs with Explanations

Practice high-yield Computer Science & IT MCQs on Introduction To Sql — Part 2 with worked academic solutions for PPSC, FPSC, CSS, PMS, NTS.

Questions
29
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
35 mins
📚 Module Parts in this Series (2 Parts):
Part 1 (40Q) ✓ Part 2 (29Q)
Exam-Level PPSC FPSC CSS PMS NTS
Content updated Oct 14, 2026
These practice questions are independent study material, not an official commission answer key. ExamHub.pk is reviewing older question sets; check important facts against the relevant commission's syllabus or another primary source. Report a correction.
29

Practice Questions

Interactive test mode with detailed academic worked solutions

Live Progress | 0/29 answered
✓ 0 correct ✗ 0 wrong 0% score
Question 1 of 29

There is an equivalent join expression that can be substituted for all subquery expressions.

Question 2 of 29

A dynamic view is one whose contents materialize when referenced.

Question 3 of 29

SQL is a programming language.

Question 4 of 29

SELECT DISTINCT is used if a user wishes to see duplicate columns in a query.

Question 5 of 29

Indexes can usually be created for both primary and secondary keys.

Question 6 of 29

Each index consumes extra storage space and also requires overhead maintenance time whenever indexed data change value.

Question 7 of 29

The HAVING clause acts like a WHERE clause, but it identifies groups that meet a criterion, rather than rows.

Question 8 of 29

SQL is a data sublanguage.

Question 9 of 29

The qualifier DISTINCT must be used in an SQL statement when we want to eliminate duplicate rows.

Question 10 of 29

DISTINCT and its counterpart, ALL, can be used more than once in a SELECT statement.

Question 11 of 29

The result of every SQL query is a table.

Question 12 of 29

COUNT(field_name) tallies only those rows that contain a value; it ignores all null values.

Question 13 of 29

SUM, AVG, MIN, and MAX can only be used with numeric columns.

Question 14 of 29

Most companies keep at least two versions of any database they are using.

Question 15 of 29

The format SELECT-FROM-WHERE is the fundamental framework of SQL SELECT statements.

Question 16 of 29

Indexes may be created or dropped at any time.

Question 17 of 29

The SQL statement: SELECT Number1 + Number 2 AS Total FROM NUMBER_TABLE; adds two numbers from each row together and lists the results in a column named Total.

Question 18 of 29

ORDER BY can be combined with the SELECT statements.

Question 19 of 29

Data manipulation language (DML) commands are used to define a database, including creating, altering, and dropping tables and establishing constraints.

Question 20 of 29

Scalar aggregate are multiple values returned from an SQL query that includes an aggregate function.

Question 21 of 29

The keyword LIKE can be used in a WHERE clause to refer to a range of values.

Question 22 of 29

The SQL statement: SELECT Name, COUNT(*) FROM NAME_TABLE; counts the number of name rows and displays this total in a table with a single row and a single column.

Question 23 of 29

The SQL keyword GROUP BY instructs the DBMS to group together those rows that have the same value in a column.

Question 24 of 29

The wildcard asterisk (*) is the SQL-92 standard for indicating "any sequence of characters."

Question 25 of 29

Microsoft Access has become ubiquitous, and being able to program in Access is a critical skill.

Question 26 of 29

SQL provides five built-in functions: COUNT, SUM, AVG, MAX, MIN.

Question 27 of 29

The keyword BETWEEN can be used in a WHERE clause to refer to a range of values.

Question 28 of 29

To establish a range of values, < and > can be used.

Question 29 of 29

If you are going to use a combination of three or more AND and OR conditions, it is often easier to use the NOT and NOT IN operators.

✓ Link copied to clipboard

💡 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 →
📚

Study Guides

Topic summaries and syllabus breakdown

Explore Guides →
🎯

Complete Library

Search the practice question library

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →