GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2021 set1

GATE 2021 set1 · CS · MCQ · 2 marks · Databases › Relational Model

GATE 2021 set1 Computer Science and Information Technology question: The following relation records the age of 500 employees of a company, where empNo…

The following relation records the age of 500 employees of a company, where (indicating the employee number) is the key:

Consider the following relational algebra expression:

What does the above expression generate?

  1. (A)

    Employee numbers of only those employees whose age is the maximum.

  2. (B)

    Employee numbers of only those employees whose age is more than the age of exactly one other employee.

  3. (C)

    Employee numbers of all employees whose age is not the minimum.

  4. (D)

    Employee numbers of all employees whose age is the minimum.

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion