Consider a database name “123hoidap” whose attributes are intern_id (primary key), subject. Intern_id = {1, 2, 3, 4, 5, 6} Subject = {sql,

Consider a database name “123hoidap” whose attributes are intern_id (primary key), subject.
Intern_id = {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 MySQL statement?
Code:
SELECT intern_id
FROM 123hoidap
Where subject IN (c, c++);
A. {5, 6}
B. {1, 2, 3}
C. {3, 4}
D. None of the mentioned
 

Tìm kiếm

Back
Top