Table cannot be created in mysql -Error 1064
I am trying to create a table in MySQL with the query CREATE TABLE ofRosterGroups ( rosterID BIGINT NOT NULL, rank TINYINT NOT NULL, groupName VARCHAR(255) NOT NULL, PRIMARY KEY (rosterID, rank), INDEX ofRosterGroup_rosterid_idx (rosterID) ); but seems like it is throwing error everytime I made updates too. I don't know what is going wrong with it. Error coming up is You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank TINYINT NOT NULL, groupName VARCHAR at line 3 MySQL 8.0.2 added support for the window