MySql 테이블 생성 에러
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
create table department
( dept_no int not null auto_increment,
dept_name varchar(20) not null,
office varchar(20) not null,
office_tel varchar(13),
primary key(dept_no);
치고 엔터를 누르면
error 1064 (42000): You have an error in your sql syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '<dept_no))' at line 6
이렇게 나오네요. ㅠㅠ
오류 주소 :
create table department
( dept_no int not null auto_increment,
dept_name varchar(20) not null,
office varchar(20) not null,
office_tel varchar(13),
primary key(dept_no);
치고 엔터를 누르면
error 1064 (42000): You have an error in your sql syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '<dept_no))' at line 6
이렇게 나오네요. ㅠㅠ
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 2개
닫는 괄호 추가 후 테스트 해 보세요.