1.

Consider a database name interviewmania whose attributes are internid (primary key), subject.
Internid = {1, 2, 3, 4, 5, 6}
Subject = {sql, oop, sql, oop, c, c++}
If these are one to one relation then what will be the output of the following query?
SELECT intern_id
FROM interviewmania
WHERE subject IN (c, c++);

A. {1, 2, 3}
B. {3, 4}
C. {5, 6}
D. All of above
E. None of these
Answer» D. All of above


Discussion

No Comment Found

Related MCQs