Skip to main content

Sql Miscellaneous — Part 1 MCQs with Explanations

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

Questions
40
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
48 mins
Exam-Level PPSC FPSC CSS PMS NTS
Verified for Commission Syllabus • Oct 14, 2026
40

Verified Practice Questions

Interactive test mode with detailed academic worked solutions

Live Progress | 0/40 answered
✓ 0 correct ✗ 0 wrong 0% score
Question 1 of 40
★ PPSC ★ FPSC

Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?

Question 2 of 40
★ PPSC ★ FPSC

Which operator performs pattern matching?

Question 3 of 40
★ PPSC ★ FPSC

What operator tests column for the absence of data?

Question 4 of 40
★ PPSC ★ FPSC

In SQL, which command(s) is(are) used to change a table's storage characteristics?

Question 5 of 40
★ PPSC ★ FPSC

In SQL, which of the following is not a data definition language commands?

Question 6 of 40
★ PPSC ★ FPSC

Which of the SQL statements is correct?

Question 7 of 40
★ PPSC ★ FPSC

The FROM SQL clause is used to...

Question 8 of 40
★ PPSC ★ FPSC

Which SQL keyword is used to retrieve only unique values?

Question 9 of 40
★ PPSC ★ FPSC

Which SQL keyword is used to retrieve a maximum value?

Question 10 of 40
★ PPSC ★ FPSC

What is a view?

Question 11 of 40
★ PPSC ★ FPSC

Which of the following SQL commands is used to retrieve data?

Question 12 of 40
★ PPSC ★ FPSC

Which of the following is a SQL aggregate function?

Question 13 of 40
★ PPSC ★ FPSC

Which SQL statement is used to update data in a database?

Question 14 of 40
★ PPSC ★ FPSC

Which SQL statement is used to delete data FROM a database?

Question 15 of 40
★ PPSC ★ FPSC

Which SQL keyword is used to sort the result-set?

Question 16 of 40
★ PPSC ★ FPSC

The SQL statement SELECT SUBSTR('123456789', INSTR('abcabcabc', 'b'), 4) FROM DUAL;

Question 17 of 40
★ PPSC ★ FPSC

Which of the following group functions ignore NULL values?

Question 18 of 40
★ PPSC ★ FPSC

Table Employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE. The SQL statement SELECT COUNT(*) FROM Employee WHERE SALARY > ANY (SELECT SALARY FROM EMPLOYEE); prints

Question 19 of 40
★ PPSC ★ FPSC

The SQL statement SELECT SUBSTR('abcdefghij', INSTR('123321234', '2', 3, 2), 2) FROM DUAL; prints

Question 20 of 40
★ PPSC ★ FPSC

The SQL statement SELECT ROUND(45.926, -1) FROM DUAL;

Question 21 of 40
★ PPSC ★ FPSC

Which of the following must be enclosed in double quotes?

Question 22 of 40
★ PPSC ★ FPSC

Which of the following command makes the updates performed by the transaction permanent in the database?

Question 23 of 40
★ PPSC ★ FPSC

Which command undo all the updates performed by the SQL in the transaction?

Question 24 of 40
★ PPSC ★ FPSC

Find all the cities whose humidity is 89, Table Name weather

Question 25 of 40
★ PPSC ★ FPSC

Find the temperature in increasing order of all cities, Table Name 'weather'

Question 26 of 40
★ PPSC ★ FPSC

What is the meaning of LIKE '%0%0%'

Question 27 of 40
★ PPSC ★ FPSC

Find the names of these cities with temperature and condition whose condition is neither sunny nor cloudy

Question 28 of 40
★ PPSC ★ FPSC

Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70 o F.

Question 29 of 40
★ PPSC ★ FPSC

Find all the tuples having temperature greater than 'Paris'.

Question 30 of 40
★ PPSC ★ FPSC

Find all the cities with temperature, condition and humidity whose humidity is in the range of 63 to 79

Question 31 of 40
★ PPSC ★ FPSC

Find the names of the countries whose condition is sunny.

Question 32 of 40
★ PPSC ★ FPSC

Find the name of all cities with their temperature, humidity and countries.

Question 33 of 40
★ PPSC ★ FPSC

Find the name of cities with all entries whose temperature is in the range of 71 and 89

Question 34 of 40
★ PPSC ★ FPSC

Which of the following query finds the names of the sailors who have reserved at least one boat?

Question 35 of 40
★ PPSC ★ FPSC

Which of the following query finds colors of boats reserved by "Dustin"?

Question 36 of 40
★ PPSC ★ FPSC

What does the following query find? (SELECT DISTINCT r.sid FROM boats b, reserves r WHERE b.bid = r.bid AND b.color = 'red') MINUS (SELECT DISTINCT r.sid FROM boats b, reserves r WHERE b.bid = r.bid AND b.color = 'green')

Question 37 of 40
★ PPSC ★ FPSC

Which of the following query finds the name of the sailors who have reserved at least two boats?

Question 38 of 40
★ PPSC ★ FPSC

Which of the following query finds the total rating of the sailors who have reserved boat "103"?

Question 39 of 40
★ PPSC ★ FPSC

The SELECT statement SELECT 'Hi' FROM DUAL WHERE NULL = NULL; Outputs

Question 40 of 40
★ PPSC ★ FPSC

If a query involves NOT, AND, OR with no parenthesis

✓ Link copied to clipboard
Continue Your Practice

Advanced Mapreduce Concepts — Part 1

Master the next curriculum module with 40 exam-standard MCQs.

Next Practice Set →

💡 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 through 78,000+ verified MCQs

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →