Q1:

2026: 24 May Shift 1

SQL

Easy

Common

STUDENT

NameClassDOBGenderCityMarks
RohanXI2008MDelhi85
PriyaXII2006FMumbai92
AnkitXI2007MDelhi88
NidhiXII2006FMumbai90
AaravIX2009MKolkata78
SimranXI2007FChandigarh94
RahulXII2006MPune80

From the above table 'STUDENT', which query will return all the students from class 'XI'"?

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

Q2:

2026: 23 May Shift 2

SQL

Medium

Common

Suppose we have a 'Sales' table with columns 'Product', 'Category', and 'Revenue'. Which of the following query will correctly retrieve the various categories with total revenue greater than 50000?

Answer options
Option 3
Correct Answer
Explanation for 2026: 23 May Shift 2 CSE question 2

Q3:

2026: 23 May Shift 2

SQL

Easy

Common

The ____________ clause is used to filter grouped records based on aggregate function results.

Answer options
Option 4
Correct Answer
Explanation for 2026: 23 May Shift 2 CSE question 3

Q4:

2026: 23 May Shift 2

SQL

Easy

Common

Which of the following SQL query will filter products (ProductName) having Cost more than 1000 from the table PRODUCTS?

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

Q5:

2026: 23 May Shift 2

SQL

Easy

Common

Match the LIST-I with LIST-II

LIST-ILIST-II
A.DDLI.INSERT
B.DMLII.CREATE
C.Single row functionIII.MAX()
D.Aggregate functionIV.POWER()
Answer options
Option 2
Correct Answer
Explanation for 2026: 23 May Shift 2 CSE question 5

Q9:

2026: 23 May Shift 1

SQL

Medium

Common

Which of the following are to be considered while applying JOIN operations on two or more relations?

A. If two tables are to be joined on equality condition on the common attribute, then one may use JOIN with ON clause or NATURAL JOIN in FROM clause.

B. If three tables are to be joined on equality condition, then two JOIN or NATURAL JOIN are required.

C. N-1 joins are needed to combine N tables on equality condition.

D. With JOIN clause, we may use any relational operators to combine tuples of two tables.

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

Q11:

2026: 23 May Shift 1

SQL

Easy

Common

Arrange the following SQL clause in the correct order of writing a query:

A. DISTINCT

B. ORDER BY

C. WHERE

D. SELECT

Answer options

Q12:

2026: 23 May Shift 1

SQL

Easy

Common

Which SQL Query below is correct for deleting all records from 'Products' table having product names starting with 'M'?

Answer options

Q13:

2026: 23 May Shift 1

SQL

Easy

Common

Which of the following are Data Definition Language statements?

A. CREATE

B. INSERT

C. ALTER

D. DROP

Answer options

Q14:

2026: 23 May Shift 1

SQL

Medium

Common

Which of the following statement will correctly filter products having an average price of 50?

Answer options

Q15:

2026: 23 May Shift 1

SQL

Easy

Common

Which of the following SQL query will filter products having cost more than 500?

Answer options

Q16:

2026: 21 May Shift 1

SQL

Medium

Common

What will be the output of the following query?

SELECT COUNT(*) FROM INVENTORY WHERE Model="VXI";

Answer options

Q17:

2026: 21 May Shift 1

SQL

Easy

Common

Fill in the words from below to complete the query in the correct order to display the PaymentMode and the number of payments made using that mode more than once from the relation 'SALE'.

_______ PaymentMode, COUNT(PaymentMode) _____ SALE ________ PaymentMode _________ COUNT(*)>1 ORDER BY PaymentMode;

(A) HAVING

(B) FROM

(C) SELECT

(D) GROUP BY

Answer options

Q19:

2026: 21 May Shift 1

SQL

Easy

Common

Which of the following is correct syntax for insertion of records in a table?

Answer options

Q20:

2026: 21 May Shift 1

SQL

Easy

Common

Ram combines tuples from two tables on specified conditions on the related attributes of two tables within the FROM clause. This concept is known as:

Answer options

Q21:

2026: 21 May Shift 1

SQL

Easy

Common

Which of the following functions are string functions?

(A) LENGTH()

(B) TRIM()

(C) MOD()

(D) LEFT()

Answer options

Q22:

2026: 21 May Shift 1

SQL

Easy

Common

What is the output of the following SQL query?

SELECT MONTH(NOW());

Answer options

Q24:

2026: 20 May Shift 1

SQL

Medium

Common

Consider the following 'CONSOLES' and 'COST' table:

CONSOLES

ProIDNameColor
1XBOXBlack
2PS5White
3SteamMachineBlack

COST

ProIDSpacePrice
1512GB499
11TB599
2512GB499
21TB599

Which of the query will result in the following output?

ProIDNameColorSpacePrice
1XBOXBlack512GB499
1XBOXBlack1TB599
2PS5White512GB499
2PS5White1TB599
Answer options

Q25:

2026: 20 May Shift 1

SQL

Easy

Common

Given a table 'EMPLOYEE' as follows:

EMPIDEmpNameDOBDOJSalary
E001Sumit1994-10-102020-05-0550000
E002Ajay1995-08-112021-07-0860000
E003Amit1993-04-142012-04-0970000

Which of the query below will arrange and display the same table in descending order by 'Salary'?

Answer options

Q26:

2026: 20 May Shift 1

SQL

Easy

Common

Consider a table 'EMPLOYEE':

EMPIDEmpNameDOBDOJSalary
E001Sumit1994-10-102020-05-0550000
E002Ajay1995-08-112021-07-0860000
E003Amit1993-04-142012-04-0970000

If we have to select DAY, MONTH and YEAR of birth of all EMPLOYEE, which of the following query should be used?

Answer options

Q27:

2026: 20 May Shift 1

SQL

Easy

Common

What will be the correct sequence of the following SQL clauses/snippets when they are used to make modification in the existing data?

(A) attribute = value

(B) SET

(C) UPDATE

(D) tablename

Answer options

Q28:

2026: 20 May Shift 1

SQL

Easy

Common

Consider the following table 'EMPLOYEE':

EmpIDENameSalaryDept
101Anil41000HR
102Atul55000Sales
103Jyoti50000Marketing
104Sumit29000Security
105Nidhi38000HR
106Anand48000Marketing

If Details of all employees serving in 'HR' dept with salary greater than 40000 is required, then which of the following query should be used?

Answer options

Q29:

2026: 19 May Shift 1

SQL

Easy

Common

Which of the following SQL command is correct to select the name (Ename) and department number (DeptId) of all those employees from the relation 'EMPLOYEE' who are earning Salary between 20000 and 50000 (both values inclusive)?

Answer options

Q30:

2026: 19 May Shift 1

SQL

Medium

Common

Match the following data types of SQL as List-I with List-II

List-IList-II
(A) VARCHAR(n)(I) Value occupies 4 bytes storage with decimal point
(B) FLOAT(II) Value occupies 8 bytes of storage
(C) CHAR(n)(III) Specifies character type data of length where n could be any value from 0 to 65535. and of variable-length data type
(D) BIGINT(IV) Specifies character type data of length n where n could be any value from 0 to 255 and of fixed length
Answer options