GATE CSE Databases PYQ analysis
Topic-wise weightage of Databases from the 15 official GATE CSE papers on this site (2017–2026), with every question listed under the syllabus topics it tests.
7.4
average marks per paper
72
PYQs (2017–2026)
5 / 5
syllabus topics asked
#9 of 11
subjects by marks
Databases weightage by year
Per paper; a year with two sessions shows their average. Of the 72 questions, 36 MCQ, 16 MSQ, 20 NAT; 39 carry 2 marks.
| Measure | 20172 papers | 2018 | 2019 | 2020 | 20212 papers | 2022 | 2023 | 20242 papers | 20252 papers | 20262 papers | Average |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Marks | 8 | 6 | 8 | 8 | 8 | 7 | 5 | 8 | 8.5 | 6 | 7.4 |
| Questions | 5 | 4 | 5 | 5 | 5 | 5 | 3 | 6 | 5 | 4 | 4.8 |
Databases topic-wise weightage
Every topic of the official syllabus, most marks first. Year columns show marks per paper; marks count each question once, under its main topic, while “Questions” also counts supporting topics.
| Topic | 20172 papers | 2018 | 2019 | 2020 | 20212 papers | 2022 | 2023 | 20242 papers | 20252 papers | 20262 papers | Marks | Questions | Share |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Relational model: relational algebra, tuple calculus and SQL | 3.5 | 3 | 4 | 1 | 2.5 | 3 | 3 | 1.5 | 3 | 1.5 | 38 | 23 | |
| Integrity constraints and normal forms | 1 | 2 | 2 | 2 | 2.5 | 2 | – | 2.5 | 2 | 3 | 30 | 19 | |
| Transactions and concurrency control | 2 | – | 1 | 2 | 2.5 | 2 | – | 2 | 2 | 0.5 | 23 | 15 | |
| File organization and indexing (e.g. B and B+ trees) | 1 | – | 1 | 2 | 0.5 | – | 2 | 1 | 1.5 | 1 | 15 | 10 | |
| ER model | 0.5 | 1 | – | 1 | – | – | – | 1 | – | – | 5 | 5 |
Databases PYQs by topic
Newest first. A question can appear under up to three topics; one filed under another subject is marked with that subject.
Relational model: relational algebra, tuple calculus and SQL
23 questions · 38 marks as main topic · asked in 10 of 10 years · last in 2026
- 2026 Session 1 · Q43Relational algebra equivalent of a tuple calculus join query2M · MCQ
- 2026 Session 2 · Q15Match DBMS schema levels with what they describe1M · MCQ
- 2025 Session 1 · Q39TRC query for players of team MI2M · MCQ
- 2025 Session 1 · Q55Minimum age of players coached by Mark2M · NAT
- 2025 Session 2 · Q54SQL queries for names of students enrolled in course 14702M · MSQ
- 2024 Session 1 · Q35Tuples in a selection over an equi-join of R and S1M · NAT
- 2024 Session 2 · Q45Cross products needed for cities with at least 3 residents2M · MCQ
- 2023 · Q16Meaning of the degree (arity) of a relation1M · MCQ
- 2023 · Q61Rows returned by SELECT with gender = 'F' AND marks > 652M · NAT
- 2022 · Q25Relational algebra for employees who own all brands1M · MSQ
- 2022 · Q56Rows returned by a NOT EXISTS ... EXCEPT division query2M · NAT
- 2021 Set 1 · Q33Estimated size of a selection with an OR of two predicates1M · NAT
- 2021 Set 1 · Q37Meaning of a self theta-join on employee age2M · MCQ
- 2021 Set 2 · Q41Meaning of a GROUP BY query with an uncorrelated subquery2M · MCQ
- 2020 · Q23Rows returned by a join with a nested AVG subquery1M · MCQ
- 2019 · Q61Rows returned by GROUP BY on a cross product without join condition2M · NAT
- 2019 · Q65Tuples returned by difference of two relational algebra projections2M · NAT
- 2018 · Q22SQL join whose output is a superset of the other joins1M · MCQ
- 2018 · Q51Query not equivalent to r join selection on s using left outer join2M · MCQ
- 2017 Session 1 · Q33SQL: average of per-department employee counts1M · NAT
- 2017 Session 1 · Q51Which tuple relational calculus queries on EMP and DEPT are safe2M · MCQ
- 2017 Session 1 · Q56Rows in CR ÷ courses taken by SA (relational division)2M · NAT
- 2017 Session 2 · Q56SQL query with >ALL on empty set and >ANY2M · NAT
Integrity constraints and normal forms
19 questions · 30 marks as main topic · asked in 9 of 10 years · last in 2026
- 2026 Session 1 · Q30Which functional dependency inferences always hold1M · MSQ
- 2026 Session 1 · Q31Dependency-preserving decompositions for 1NF, 2NF, 3NF, BCNF1M · MSQ
- 2026 Session 1 · Q65Number of superkeys with candidate keys {A,B} and {A,C}2M · NAT
- 2026 Session 2 · Q42Armstrong's axioms needed to prove the Union rule2M · MCQ
- 2025 Session 1 · Q47Normal forms and lossless join for team(name, city, owner)2M · MSQ
- 2025 Session 2 · Q46Which of two relations with given FDs are in 3NF2M · MSQ
- 2024 Session 1 · Q22True statements about a relation in first normal form1M · MSQ
- 2024 Session 1 · Q44Valid inferences of functional dependencies2M · MSQ
- 2024 Session 2 · Q56Number of useful functional dependencies on 4 attributes2M · NAT
- 2022 · Q14Which normal-form statement is always true1M · MCQ
- 2022 · Q31Number of superkeys of R(A, B, C, D, E) with three FDs1M · NAT
- 2021 Set 1 · Q43Lossless or lossy: two decompositions of R(P,Q,S,T,X,Y,Z,W)2M · MCQ
- 2021 Set 2 · Q16Foreign keys: how many per relation, and self-reference1M · MCQ
- 2021 Set 2 · Q50FDs implied by P → QR and RS → T2M · MSQ
- 2020 · Q46What must hold for a relation in 3NF but not in BCNF2M · MCQ
- 2019 · Q42BCNF and dependency preservation of decomposing PQRS into PR and QRS2M · MCQ
- 2018 · Q52Which registration schema is in 3NF but not BCNF2M · MCQ
- 2017 Session 1 · Q26Irreducible (minimal) cover of FDs on R(V, W, X, Y, Z)1M · MCQ
- 2017 Session 2 · Q29Records deleted from T1 with cascade and set NULL foreign keys1M · NAT
Transactions and concurrency control
15 questions · 23 marks as main topic · asked in 8 of 10 years · last in 2026
- 2026 Session 2 · Q20When two transactions do not conflict on a data item1M · MCQ
- 2025 Session 1 · Q15Cascading rollback after T1 aborts1M · MCQ
- 2025 Session 2 · Q27ACID properties violated by a lost-update bank transfer1M · MSQ
- 2025 Session 2 · Q53Which interleavings of T1 and T2 are conflict serializable2M · MSQ
- 2024 Session 1 · Q46Serial schedules conflict-equivalent to a three-transaction schedule2M · MSQ
- 2024 Session 2 · Q19ACID property: committed effects survive a crash1M · MCQ
- 2024 Session 2 · Q27True statements about two-phase locking1M · MSQ
- 2022 · Q39Serial schedule conflict equivalent to a four-transaction schedule2M · MCQ
- 2021 Set 1 · Q23Recovering again after a crash during recovery1M · MSQ
- 2021 Set 1 · Q42Conflict serializability of two two-transaction schedules2M · MCQ
- 2021 Set 2 · Q42Conflict serializability and recoverability of a schedule2M · MCQ
- 2020 · Q47Schedule conflict equivalent to a given two-transaction schedule2M · MCQ
- 2019 · Q21Strict 2PL recoverability and Thomas' write rule view serializability1M · MCQ
- 2017 Session 1 · Q52Deadlock prevention: if TS(T2) < TS(T1) kill T1 else T2 waits2M · MCQ
- 2017 Session 2 · Q54Number of conflict serializable schedules of two transactions2M · NAT
File organization and indexing (e.g. B and B+ trees)
10 questions · 15 marks as main topic · asked in 8 of 10 years · last in 2026
- 2026 Session 2 · Q46Dense vs sparse: hash index and B+ tree index2M · MCQ
- 2025 Session 1 · Q21Effect of inserting 23 into a full B+ tree1M · MSQ
- 2025 Session 2 · Q57Parent of leaf 25* after inserting 23 into a B+ tree2M · NAT
- 2024 Session 1 · Q21B+ tree node where half-full occupancy is relaxed1M · MCQ
- 2024 Session 2 · Q26File organizations efficient for a full scan1M · MSQ
- 2023 · Q62Block accesses with a sparse primary index and binary search2M · NAT
- 2021 Set 2 · Q31Number of blocks in a dense index on a candidate key1M · NAT
- 2020 · Q64Disk accesses to fetch a record via a B+ tree of one million keys2M · NAT
- 2019 · Q24Which statement about B+ tree indexes is NOT correct1M · MCQ
- 2017 Session 2 · Q59Maximum order of a B+ tree node2M · NAT
ER model
5 questions · 5 marks as main topic · asked in 4 of 10 years · last in 2024
- 2024 Session 1 · Q20ER diagram for instructors, courses, students and classrooms1M · MCQ
- 2024 Session 2 · Q20Participation of weak and owner entity sets1M · MCQ
- 2020 · Q24ER notation for the identifying relationship of a weak entity1M · MCQ
- 2018 · Q21Many-to-one relationship with total participation in ER model1M · MCQ
- 2017 Session 2 · Q27When the table for relationship R can be merged into entity A1M · MCQ