Gradient LabSign up free

Home / GATE DA / Databases

GATE DA Databases PYQs with solutions

Every databases question from the GATE DA papers of 2026, 2025, 2024: 22 questions worth 35 marks. This covers relational algebra, SQL queries, keys, functional dependencies, normal forms, indexes and warehousing. 3 are solved free; the rest are in the past-paper pack (₹499).

2026: 11 questions (18 marks) · 2025: 7 questions (11 marks) · 2024: 4 questions (6 marks)

GATE DA 2026

Q.17Candidate keys of R(A, B, C, D, E)
Candidate keys · 1 mark · MCQ
Q.18From Country to State in a data cube
OLAP operations · 1 mark · MCQ
Q.26Operations that never violate a foreign key
Foreign key constraints · 1 mark · MSQ (more than one correct)
Q.32Max node pointers in a non-leaf node
B+ tree fan-out · 1 mark · Numerical answer
Q.41Root after inserting 3 into a B+ tree
B+ tree insertion · 2 marks · MCQ
Q.42Output of a selection over two natural joins
Relational algebra joins · 2 marks · MCQ
Q.43Number of cuboids with concept hierarchies
OLAP cuboids · 2 marks · MCQ
Q.51Team size for every employee
SQL grouping and joins · 2 marks · MSQ (more than one correct)
Q.59Tuples of X with a matching Y row where S > 1
Tuple relational calculus · 2 marks · Numerical answer
Q.60Accounts with at least as many richer as poorer accounts
Correlated subqueries · 2 marks · Numerical answer
Q.61Minimum 3NF relations for E1, E2 and M:N R12
ER to relational mapping · 2 marks · Numerical answer

GATE DA 2025

Q.16Cost of a decomposition that loses dependencies
Dependency preservation · 1 mark · MCQ
Q.17Meaning of a select-join-project query
Relational algebra · 1 mark · MCQ
Q.33Loans above the SR Nagar maximum
Subqueries with MAX · 1 mark · Numerical answer
Free
Q.46Rows produced by CUBE on two dimensions
GROUP BY CUBE · 2 marks · MCQ
Free
Q.56Candidate keys and nullable columns
Keys and NULLs in SQL schemas · 2 marks · MSQ (more than one correct)
Q.57R(A..G) with A → BCEF, E → DG, BC → A
Candidate keys and BCNF · 2 marks · MSQ (more than one correct)
Q.62Customers with loans at every branch
Relational division · 2 marks · Numerical answer

GATE DA 2024

Q.26Every team name is a defender or forward
Relational algebra · 1 mark · MCQ
Q.31Rows returned by a join on Raider and Team
SQL join with filters · 1 mark · Numerical answer
Q.46Which FDs follow from U→V, U→W, WX→Y, WX→Z, V→X
Functional dependency closure · 2 marks · MSQ (more than one correct)
Q.55Which indexes speed up a range + equality query?
Hash vs B+ tree indexes · 2 marks · MSQ (more than one correct)
Free

Other subjects

General Aptitude · Machine learning · Artificial intelligence · Data structures and algorithms · Programming · Probability and statistics · Linear algebra · Calculus and optimization