Can someone please tell what is wrong with below SQL code?
CREATE TABLE student (
student_id INT PRIMARY KEY,
first_name VARCHAR(20),
major VARCHAR(20),
);
Can someone please tell what is wrong with below SQL code?
CREATE TABLE student (
student_id INT PRIMARY KEY,
first_name VARCHAR(20),
major VARCHAR(20),
);
You need to remove the comma after the last column declaration.
CREATE TABLE student
(
student_id INT PRIMARY KEY,
first_name VARCHAR(20),
major VARCHAR(20)
);