250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- node.js
- Database
- locals()
- __getitem__
- HTML
- shutil
- MySQL
- 파이썬
- 오버라이딩
- discard()
- mro()
- __sub__
- View
- inplace()
- JS
- zipfile
- remove()
- choice()
- decode()
- count()
- randrange()
- shuffle()
- items()
- __annotations__
- fnmatch
- fileinput
- glob
- __len__
- MySqlDB
- CSS
Archives
- Today
- Total
목록Auto_increment (1)
흰둥이는 코드를 짤 때 짖어 (왈!왈!왈!왈!왈!왈!왈!왈!왈!왈!왈!)
(MySQL) 기초 문법(auto_increment)
auto_increment (필드의 identity한 숫자를 자동으로 부여) create table tel( idx int auto_increment, name varchar(20) not null, hp varchar(20) not null, job varchar(20), regdate datetime default now() ); # Error Code: 1075. Incorrect table definition; there can be only one auto column and it must be defined as a key auto_increment속성을 갖는 칼럼은 primary key를 반드시 같이 선언 해주어야 한다. create table tel( idx int auto_incremen..
MySQL
2023. 3. 20. 16:38