MySQL - DML 실습
📃 SQL 예제(1) create database tutor; create table dept ( deptno decimal(2), dname varchar(14), loc varchar(13), constraint pk_dept primary key (deptno) ); create table emp ( empno decimal(4), ename varchar(10), job varchar(9), mgr decimal(4), hiredate date, sal decimal(7,2), comm decimal(7,2), deptno decimal(2), constraint pk_emp primary key (empno), constraint fk_deptno foreign key (deptno) refer..
2022. 7. 14.