GATE DA 2026 Set 1 — Question 42

Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.
MCQ+2 / -0.67MediumSelection & ProjectionRelational AlgebraDatabase Management & WarehousingJoin & Division

Database Management & Warehousing → Relational Algebra → Join & Division

Last updated

Question

Consider the given relations XX, YY and ZZ. The relation XX has three columns PP, QQ and RR. The relation YY has three columns PP, QQ and SS. The relation ZZ has two columns PP and TT.
Relation X
PQR
P1Q1R1
P2Q2R2
P3Q3R2
Relation Y
PQS
P1Q12
P1Q25
P2Q16
P3Q31
Relation Z
PT
P1T1
P3T2
P4T3
P4NULL
Consider the relational algebra expressionΠPRS[(σ(Q=Q3R=R2)[XY])(σ(S>1)[YZ])]\Pi_{PRS} [ (\sigma_{(Q=Q3 \lor R=R2)} [X \bowtie Y]) \bowtie (\sigma_{(S>1)} [Y \bowtie Z]) ]where \bowtie denotes natural join operation.
Which of the following options is the correct output for the given expression?
Your answer

Choose one option, then check your answer.

The solution stays hidden until you check.

Continue learning with Success Tracker

A step still unclear? Work through it with support

Use Success Tracker to ask about the reasoning, then try another GATE DA question to check your understanding.

AI-powered practice· Unlimited practice on eligible plans
PYQs with solutions
Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
Practice that adapts
Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
AI doubt support
Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.

Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.

This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.

More questions on Relational Algebra