PYQBOOK
Filter Questions
Found 475 question(s)
Q421
MCQ
GATE
CS
Medium
2 Marks
2020
DBMS → Relational Design
Consider a relational table R that is in 3NF, but not in BCNF. Which one of the following statements is TRUE?
Q422
MCQ
GATE
CS
Hard
2 Marks
2020
DBMS → Concurrency Control
Consider a schedule of transactions T1 and T2: T1: RA, RC, WD, WB, Commit. T2: RB, WB, RD, WC, Commit. Here, RX stands for Read(X) and WX stands for Write(X). Which one of the following schedules is conflict equivalent to the above schedule?
Q423
MCQ
GATE
CS
Medium
1 Mark
2020
DBMS → SQL
Consider a relational database containing the following schemas. Catalogue(sno, pno, cost), Suppliers(sno, sname, location), Parts(pno, pname, part_spec). SELECT s.sno, s.sname FROM Suppliers s, Catalogue c WHERE s.sno = c.sno AND cost > (SELECT AVG (cost) FROM Catalogue WHERE pno = 'P4' GROUP BY pno); The number of rows returned by the above SQL query is
Q424
MCQ
GATE
CS
Medium
1 Mark
2020
DBMS → SQL
Consider a relational database containing the following schemas. Catalogue(sno, pno, cost), Suppliers(sno, sname, location), Parts(pno, pname, part_spec). SELECT s.sno, s.sname FROM Suppliers s, Catalogue c WHERE s.sno = c.sno AND cost > (SELECT AVG (cost) FROM Catalogue WHERE pno = 'P4' GROUP BY pno); The number of rows returned by the above SQL query is
Q425
MCQ
GATE
CS
Hard
2 Marks
2020
DL → Number Representation