JavaScript is required

Trong CSDL QLDIEM, cho 2 bảng LOP(MALOP, TENLOP), HOCSINH(MASV, HOTEN, MALOP).
Bảng HOCSINH liên kết với bảng LOP qua cấu trúc nào?

 

A.

Constraint LOP_HOCSINH foreign key LOP(MALOP) references HOCSINH(MALOP)

B.

Constraint LOP_HOCSINH foreign key HOCSINH(MALOP) references LOP(MALOP)

C.

Constraint HOCSINH_LOP foreign key HOCSINH(MALOP) references LOP(MALOP)

D.

Constraint HOCSINH_LOP foreign key LOP(MALOP) references HOCSINH(MALOP)

Trả lời:

Đáp án đúng: C


Tổng hợp 510 câu hỏi trắc nghiệm quản trị cơ sở dữ liệu có đáp án đầy đủ nhằm giúp các bạn dễ dàng ôn tập lại toàn bộ các kiến thức.


50 câu hỏi 60 phút

Câu hỏi liên quan