0

Getting error Creating Table in SQL

CREATE TABLE leaderboard (place int, nickname varchar, rating int, ); INSERT INTO leaderboard (place, nickname, rating) VALUES (1, 'Predator', 9500), (2, 'JohnWar', 9300), (3, 'NightWarrior', 8900); SELECT * FROM leaderboard;

12th Jul 2021, 6:42 AM
Ashwin Jain
Ashwin Jain - avatar
1 Answer
+ 2
Ashwin Jain You have added one extra comma after rating int
12th Jul 2021, 7:03 AM
A͢J
A͢J - avatar