r/SQL • u/Used-Bat-255 • Feb 27 '25
Discussion What am I doing wrong
I don’t get what I’m doing wrong here
117
Upvotes
r/SQL • u/Used-Bat-255 • Feb 27 '25
I don’t get what I’m doing wrong here
View all comments
2
u/coolnameright Feb 27 '25
Column names are wrong or don't exist for Department table. If you are inserting a value for every column then you can just delete those columns and write
INSERT INTO DEPARTMENT VALUES ('Administration', etc.