Hi there,
My code for the first project on SQL (create a table) isn’t querying any results. It does show results after the first step, but then after that nothing else comes up. Is my code below correct?
Thanks for the help in advance
CREATE TABLE friends (
id INTEGER
name TEXT
birthday DATE
);
INSERT INTO friends (id, name, birthday)
VALUES (1,'Jane Doe','1990-05-30');
SELECT *
FROM friends;
INSERT INTO friends (id, name, birthday)
VALUES (2,'John Powers','1990-03-20');
INSERT INTO friends (id, name, birdthay)
VALUES (3,'Jack Stevens','1992-04-21');
UPDATE friends
SET name = 'Jane Smith'
WHERE id = 1;
ALTER TABLE friends
ADD COLUMN = email TEXT;
UPDATE friends
SET email = 'jane@codecademy.com'
WHERE id = 1;
UPDATE friends
SET email = 'John@codecademy.com'
WHERE id = 2;
UPDATE friends
SET email = 'Jack@codecademy.com'
WHERE id = 3;
DELETE FROM friends
WHERE id = 1;
SELECT *
FROM friends;
```````