[code]Create table section (Course_id varchar (8), Sec_id varchar (8), Semester varchar (6), Year numeric (4,0), Building numeric (15), primary

Code:
Create table section
(Course_id varchar (8),
Sec_id varchar (8),
Semester varchar (6),
Year numeric (4,0),
Building numeric (15),
primary key (course id, sec id, semester, year),
foreign key (course id) references course);
Which of the following has an error in the above create table for the relation section
A. Primary key (course id, sec id, semester, year)
B. Foreign key (course id) references course
C. Year numeric (4,0)
D. Building numeric (15)
 

Tìm kiếm

Back
Top