Q17
Let be a relational schema with functional dependency set .
Which of the following statements is correct?
Which of the following statements is correct?
Show answer without attempting
Loading the answer…
GATE DA · 11 questions
11 Database Management and Warehousing questions from GATE DA papers (2026), each with the official answer key. Answer any question right here and it is marked straight away, or practise them one at a time.
Loading the answer…
Loading the answer…
Loading the answer…
Loading the answer…

Loading the answer…
| P1 | Q1 | R1 |
| P2 | Q2 | R2 |
| P3 | Q3 | R2 |
| P1 | Q1 | 2 |
| P1 | Q2 | 5 |
| P2 | Q1 | 6 |
| P3 | Q3 | 1 |
| P1 | T1 |
| P3 | T2 |
| P4 | T3 |
| P4 | NULL |
Loading the answer…

Loading the answer…
Employee(EmpID, TeamID), where the column EmpID (ID of an employee) is the primary key. The column TeamID denotes the team ID of the team of which the employee is a member. TeamID is a NOT NULL column.TeamSize) in which each employee is a member by using SQL. As an example, the desired output for the given Employee table is also shown in tabular form.| EmpID | TeamID |
|---|---|
| 1 | 8 |
| 2 | 8 |
| 3 | 8 |
| 4 | 7 |
| 5 | 7 |
| 6 | 9 |
| EmpID | TeamSize |
|---|---|
| 1 | 3 |
| 2 | 3 |
| 3 | 3 |
| 4 | 2 |
| 5 | 2 |
| 6 | 1 |
Loading the answer…
| P1 | Q1 | R1 |
| P2 | Q2 | R2 |
| P3 | Q3 | R2 |
| P1 | 10 |
| P1 | 15 |
| P2 | 20 |
| P3 | 1 |
Loading the answer…
Account be a relation as shown.| AccNo | Balance |
|---|---|
| A1 | 5000 |
| A2 | 5000 |
| A3 | 10000 |
| A4 | 15000 |
| A5 | 18000 |
SELECT AccNo FROM Account AS A
WHERE (SELECT COUNT(*) FROM Account AS B
WHERE A.Balance < B.Balance) >= (SELECT COUNT(*)
FROM Account AS C WHERE A.Balance > C.Balance)Loading the answer…
Loading the answer…
0/110 correct0 marks