GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2024 set2

GATE 2024 set2 · CS · MCQ · 2 marks · Databases › Relational Model

GATE 2024 set2 Computer Science and Information Technology question: The relation schema, Person(pid,city) , describes the city of residence for every person…

The relation schema, Person(pid,city), describes the city of residence for every person uniquely identified by pid. The following relational algebra operators are available: selection, projection, cross product, and rename.

To find the list of cities where at least 3 persons reside, using the above operators, the minimum number of cross product operations that must be used is

  1. (A)

    1

  2. (B)

    2

  3. (C)

    3

  4. (D)

    4

Show answer

Official answer: B

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion