GATE DA 2025 · Question 62 · Database Management and Warehousing · Numerical answer (NAT) · 2 marks · no negative marks
Consider the following tables, Loan and Borrower , of a bank.
Loan
Borrower
Query: π_(branch_name, customer_name)(Loan Borrower) ÷ π_(branch_name)(Loan)
where denotes natural join.
The number of tuples returned by the above relational algebra query is ______
(Answer in integer)
| loan_num | branch_name | amount |
|---|---|---|
| L11 | Banjara Hills | 90000 |
| L14 | Kondapur | 50000 |
| L15 | SR Nagar | 40000 |
| L22 | SR Nagar | 25000 |
| L23 | Balanagar | 80000 |
| L25 | Kondapur | 70000 |
| L19 | SR Nagar | 65000 |
| customer_name | loan_num |
|---|---|
| Anand | L11 |
| Karteek | L11 |
| Karteek | L14 |
| Ankita | L15 |
| Gopal | L19 |
| Karteek | L22 |
| Karteek | L23 |
| Sunil | L23 |
| Sunil | L25 |
Answer
Answer 1
Answer from the official GATE DA 2025 answer key.
The step-by-step solution, where available, is part of GATE DA Pro. See what Pro includes