Encountered with an error inspite of typing the same given in code


#1

CREATE TABLE celebs (id INTEGER, name TEXT, age INTEGER);
INSERT INTO celebs (id ,name,age)
VALUES (1,'Justin Bieber',21);
SELECT * FROM celebs;

Error: near line 1: table celebs already exists

please explain its meaning


#2

That is saying that a table called celebs already exists. It sounds like you don't need that first line. Just start off with your INSERT command.


#3

A post was split to a new topic: This is the code that I am typing into the exercise but appears is not correct


#4

A post was split to a new topic: I am getting the same error and can't get past this point in the course


#5