Quote:
Error: 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 ')' at line 7
You may have to remove the ",".
CREATE TABLE Delat(
Staff_id INT PRIMARY KEY,
First_Name VARCHAR(20),
Last_Name VARCHAR(20),
Department VARCHAR(30),
Designation VARCHAR(50), <= Remove the ',' here
);