Using Postgres, I\'m trying to use AUTO_INCREMENT to number my primary key automatically in SQL. However, it gives me an error.
AUTO_INCREMENT
CREATE TABLE Sta
In the SQL server database you can use Identity(1,1) like this:
Identity(1,1)
CREATE TABLE Staff ( ID INT IDENTITY(1,1) NOT NULL, Name VARCHAR(40) NOT NULL, PRIMARY KEY (ID) );