this is simple code, but I just donβt know why I cannot use this word as a table object
CREATE TABLE IF NOT EXISTS users( key INT PRIMARY KEY NOT NULL AUTO_INCREMENT, username VARCHAR(50) NOT NULL, );
I realized that I canβt use the "key", if I use the key, mysql will ask me to check the syntax, but if I use "id" or any others, the table will be created.
Does anyone know how I can create an object name in a key? Not something important, since I can just use id instead of the key, but since I found this error, I donβt see if there is a way to make it work.
sql database mysql
Tsuna
source share