Last answered:

25 Oct 2023

Posted on:

12 Oct 2023

0

Resolved: Cannot add auto increment

2 answers ( 1 marked as helpful)
Posted on:

12 Oct 2023

0

Auto_increment can be set on an INT column.

The company_id column that you are trying to set auto increment on is varchar(255). 

Instructor
Posted on:

25 Oct 2023

0

Hi Izzatilla!
Thanks for reaching out.


As Tanika explained, please set the company_id column to INT.


Hope this helps.
Best,
Tsvetelin

Submit an answer