0
Creating table Leaderboard task
Hi! The code gives no output, the error says "no input". Could you please suggest where the error is? Thanks in advance! Create table Leaderboard (Place int, Nickname varchar, Rating int); Insert into Leaderboard Values (1, 'Predator', 9500), (2, 'JohnWar', 9300), (3, 'NightWarrior', 8900);
3 odpowiedzi
+ 9
Maybe you need to do a SELECT operation after INSERT operation?
+ 3
OMG, true. I didn't even think about this. Thanks a lot!
0
CREATE TABLE leaderboard
(
place INTEGER,
nickname VARCHAR,
rating INTEGER
);
INSERT into leaderboard
VALUES
(1,'Predator',9500),
(2,'JohnWar', 9300),
(3,'NightWarrior', 8900);
SELECT * FROM leaderboard;