Skip to content

Commit 39b371a

Browse files
Create cycle-1-2.txt
1 parent 4bf8fea commit 39b371a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

cycle-1-2.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
create table "SUBJECTS" (
2+
"SubjectID" int primary key,
3+
"CategoryID" int,
4+
"SubjectCode" int,
5+
"SubjectName" varchar(25),
6+
"SubjectDescription" varchar(50),
7+
foreign key("CategoryID") references "CATEGORIES"("CategoryID")
8+
);
9+
10+
11+
create table "FACULTY_SUBJECTS" (
12+
"StaffID" int, "ClassID" int,
13+
"ProficiencyRating" dec(2,1),
14+
primary key("StaffID", "ClassID")
15+
);
16+
17+
18+
19+
20+
insert into "STAFF" values(1,'ADARSH','G','VALLICODE','PATHANAMTHITTA','KERALA',689648,0468,'7070707070','2020-12-12',10000,'PROFESSOR');
21+
insert into "FACULTY_CLASSES" values
22+
(1, 3003),

0 commit comments

Comments
 (0)