I keep getting a syntax error when I'm trying to insert new entries into the table but I can't seem to figure out why. For starters here's the .schema:
CREATE TABLE collection (
id int primary key not null,
album text not null,
artist text not null,
year int not null,
cover text
);
And this is the line I've used to add the entry:
sqlite> insert into collection(115,"houses of the holy","led zeppelin", 1973, "junk");
All the values match up: id int, album text, artist text, year int, cover text. But the terminal just spit out the following syntax error:
Error: near "115": syntax error
I've also tested putting the int values within quotation marks but I just end up with:
Error: near ";": syntax error
Can someone please help me figure out what I'm doing wrong?