프로시저 트리거 인덱스 뷰
insert into department values(1, '수학');
insert into department values(2, '국문학');
insert into department values(3, '정보통신공학');
insert into department values(4, '모바일공학');
insert into student values(1, '가길동', 177, 1);
insert into student values(2, '나길동', 178, 1);
insert into student values(3, '다길동', 179, 1);
insert into student values(4, '라길동', 180, 2);
insert into student values(5, '마길동', 170, 2);
insert into student values(6, '바길동', 172, 3);
insert into student values(7, '사길동', 166, 4);
insert into student values(8, '아길동', 192, 4);
insert into professor values(1, '가교수' ,1);
insert into professor values(2, '나교수' ,2);
insert into professor values(3, '다교수' ,3);
insert into professor values(4, '빌게이츠' ,4);
insert into professor values(5, '스티브잡스' ,3);
insert into course values(1, '교양영어', '2016/9/2', '2016/11/30', 1);
insert into course values(2, '데이터베이스 입문', '2016/8/20','2016/10/30', 3);
insert into course values(3, '회로이론', '2016/10/20', '2016/12/30', 2);
insert into course values(4, '공업수학', '2016/11/2', '2017/1/28', 4);
insert into course values(5, '객체지향프로그래밍', '2016/11/1', '2017/1/30', 3);
insert into student_course values(1, 1);
insert into student_course values(2, 1);
insert into student_course values(3, 2);
insert into student_course values(4, 3);
insert into student_course values(5, 4);
insert into student_course values(6, 5);
insert into student_course values(7, 5);
'T아카데미 > 데이터베이스' 카테고리의 다른 글
17강. SQL Advanced 4 (0) | 2020.03.25 |
---|---|
16강. SQL Advanced 3 (0) | 2020.03.25 |
15강. SQL Advanced 2 (0) | 2020.03.24 |
14강. SQL Advanced 1 (0) | 2020.03.24 |
13강. SQL(DCL) (0) | 2020.03.23 |