SyntaxError-
Eternal Poster
- Joined
- Oct 9, 2016
- Posts
- 605
- Solutions
- 8
- Reaction
- 1,132
- Points
- 383
ano mali ko rito mga boss?
SQL:
create table Professors(
professor_id int not null primary key,
first_name varchar(25),
last_name varchar(25),
contact_number varchar (12),
major varchar(25),
department varchar(75)
);
create table ClassSchedules(
class_ID int not null primary key,
course_id int foreign key references classsched_course(course_id),
subject varchar,
schedule varchar,
room_id int foreign key references classsched_room(room_id),
professor_id int foreign key references classsched_prof(professor_id)
);
create table Students(
student_id int not null primary key,
first_name varchar,
last_name varchar,
contact_number varchar (12),
address varchar(75),
course_id int foreign key references student_course(course_id)
);
create table Rooms(
room_id int not null primary key,
room_name varchar,
building varchar
);
create table Courses(
course_id int not null primary key,
title varchar,
description text,
department varchar
);
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
Last edited: