Skip to content

Commit ec80bc2

Browse files
authored
Update query1.sql
1 parent 045b0e9 commit ec80bc2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎handcode/query1.sql‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
create database student;
2+
23
use student;
4+
5+
36
create table student_signups(
47
student_id INT(11) AUTO_INCREMENT PRIMARY KEY,
58
student_name VARCHAR(50),
@@ -16,7 +19,6 @@ create table course(
1619
ON UPDATE cascade
1720
);
1821

19-
2022
create table coursetype(
2123
coursetype_id INT AUTO_INCREMENT PRIMARY KEY,
2224
course_type VARCHAR(50),
@@ -27,7 +29,6 @@ create table coursetype(
2729
ON UPDATE cascade
2830
);
2931

30-
3132
create table enrollement(
3233
enrollment_id INT(11) AUTO_INCREMENT PRIMARY KEY,
3334
semester_name VARCHAR(50)

0 commit comments

Comments
 (0)