Q1:

2026: 31 May Shift 1

SQL

Medium

Common

Which of the following statements are correct?

A. SELECT DAY("2003-03-24"); ------ will return 24

B. SELECT MONTHNAME("2003-03-24"); ------ will return 03

C. SELECT YEAR(“2003-10- 03”); ------ will return 2003

D. SELECT DATE(NOW()); ------ will return date part of current system date

Answer options
Option 1
Correct Answer
Explanation for 2026: 31 May Shift 1 CSE question 1

Q2:

2026: 31 May Shift 1

SQL

Easy

Common

Consider the following table 'Emp':

NameSalary
Aaliya120000
Kritika720000
Shabbir540000
Gurpreet228000
Joseph408000
Sanya576000
Vergese180000
Nachaobi348000
Daribha504000
Tanya600000

What will be the output of following query?

SELECT MIN(Salary), MAX(Salary) FROM Emp;

Answer options
Option 2
Correct Answer
Explanation for 2026: 31 May Shift 1 CSE question 2

Q3:

2026: 31 May Shift 1

SQL

Easy

Common

____ in SQL, is used to specify the conditions on rows with GROUP BY clause.

Answer options
Option 3
Correct Answer
Explanation for 2026: 31 May Shift 1 CSE question 3

Q4:

2026: 31 May Shift 1

SQL

Easy

Common

Adding new attributes to a table using the "ALTER TABLE" statement is ____

Answer options
Option 2
Correct Answer
Explanation for 2026: 31 May Shift 1 CSE question 4

Q5:

2026: 31 May Shift 1

SQL

Easy

Common

The query given below will:

SELECT Ename as Name FROM Employee;

Answer options
Option 1
Correct Answer
Explanation for 2026: 31 May Shift 1 CSE question 5

Q6:

2026: 31 May Shift 1

SQL

Easy

Common

To update the datatype of an attribute in a table, which of the following syntax will be used?

Answer options
Option 1
Correct Answer
Explanation for 2026: 31 May Shift 1 CSE question 6

Q7:

2026: 29 May Shift 2

SQL

Easy

Common

The SELECT statement when combined with __________ clause, returns records without repetition.

Answer options
Option 2
Correct Answer
Explanation for 2026: 29 May Shift 2 CSE question 7

Q9:

2026: 29 May Shift 2

SQL

Easy

Common

Which of the following are aggregate functions in SQL?

A. Count

B. Avg

C. Max

D. Mid

Answer options
Option 1
Correct Answer
Explanation for 2026: 29 May Shift 2 CSE question 9

Q10:

2026: 29 May Shift 2

SQL

Medium

Common

Match the LIST-I with LIST-II

LIST-ILIST-II
A.SELECT POWER(2,3);I.8
B.SELECT MOD(21, 2);II.1
C.SELECT POWER(3,2);III.9
D.SELECT INSTR(“Informatics”, “ma”);IV.6
Answer options

Q11:

2026: 29 May Shift 2

SQL

Easy

Common

Which of the following command is used to add/remove a column or to modify its datatype inside a table?

Answer options

Q12:

2026: 29 May Shift 2

SQL

Easy

Common

Which of the following is the correct query for removing the primary key constraint?

Answer options

Q13:

2026: 29 May Shift 1

SQL

Easy

Common

Which of the following function does not come under the category of scalar functions?

Answer options

Q15:

2026: 29 May Shift 1

SQL

Easy

Common

Consider the following table named “Product”, showing details of products being sold in a grocery shop.

PCodePNameUPrice
P01SOAP200
P02SHAMPOONULL
P03COMP50

Write the output produced by the following SQL command:

SELECT COUNT(UPrice) FROM Product;

Answer options

Q16:

2026: 29 May Shift 1

SQL

Easy

Common

Match List-I with List-II

List-IList-II
(A) NOW()(I) STRING FUNCTION
(B) MOD()(II) AGGREGATE FUNCTION
(C) COUNT()(III) NUMERIC FUNCTION
(D) LENGTH()(IV) DATE FUNCTION
Answer options

Q17:

2026: 29 May Shift 1

SQL

Easy

Common

Which of the following SQL operations are used for modification of database?

(A) Insert

(B) Update

(C) Delete

(D) Select

Answer options

Q18:

2026: 29 May Shift 1

SQL

Easy

Common

Select the correct order of the following while writing a query for grouping of records in SQL.

(A) group by

(B) having

(C) from

(D) select

Answer options

Q19:

2026: 29 May Shift 1

SQL

Easy

Common

Which clause is used to eliminate repetition and display values only once in the SELECT statement?

Answer options

Q20:

2026: 26 May Shift 1

SQL

Easy

Common

Which query counts the number of employees NOT belonging to 'HR' Department from the relation 'EMP'?

Answer options

Q21:

2026: 26 May Shift 1

SQL

Medium

Common

Which query will display employees whose Salary is greater than the average Salary?

Answer options

Q22:

2026: 26 May Shift 1

SQL

Easy

Common

The task is to display all the details of customers of Delhi (contained in table CUSTOMER) who made a purchase of more than 10,000. Which of the following query will be used for the above operation on table CUSTOMER?

Answer options

Q23:

2026: 26 May Shift 1

SQL

Medium

Common

Which query finds the second highest Salary from the table EMP?

Answer options

Q24:

2026: 26 May Shift 1

SQL

Easy

Common

Which of the following are parts of Data Definition Language?

(A) CREATE

(B) INSERT

(C) ALTER

(D) DROP

Answer options

Q25:

2026: 26 May Shift 1

SQL

Easy

Common

Which of the following will display the 'custname' (name of the customers) in lowercase and 'address' in uppercase from a table CUSTOMER?

Answer options

Q26:

2026: 24 May Shift 1

SQL

Easy

Common

Which Sql Statements correctly retrieves records from a 'Commodity' table where the Price is either above 1000 or the product Category is 'Sales'?

Answer options

Q27:

2026: 24 May Shift 1

SQL

Easy

Common

Which of the following statement is CORRECT about GROUP BY clause in SQL?

Answer options

Q28:

2026: 24 May Shift 1

SQL

Medium

Common

Which query correctly finds a category in the 'Commodity' table that has more than 5 products with a Price greater than 600?

Answer options

Q29:

2026: 24 May Shift 1

SQL

Easy

Common

Match List-I with List-II

List-IList-II
(A) Retrieve all rows with duplicates removed(I) GROUP BY
(B) Filter rows based on condition(II) ORDER BY
(C) Aggregate data into groups(III) DISTINCT
(D) Sort rows in ascending or descending order(IV) WHERE
Answer options

Q30:

2026: 24 May Shift 1

SQL

Easy

Common

Which of the following are multiple row functions?

(A) Sum

(B) Count

(C) Left

(D) Max

Answer options