DB

[MYSQL] ERROR 1075

CoderNo.905 2024. 10. 14. 20:03

TL;DR

ERROR 1075 : incorrect table definition there can be only one auto column and it must be defined as a key

 

특정 칼럼에 auto_increment 속성을 입력하면 해당 칼럼을 primary key로 지정해야한다.