Databases Modifying Data with SQL Adding Data to a Database Adding Data With SQL

Seho Kim
Seho Kim
2,340 Points

insert into products (id, name, description, price) value (NULL, "driver", "impact driver", 80.99);

I put 4 entries for all 4 columns, however the work returns saying that I only put 3 entries. what went wrong with my query?

thanks

1 Answer

adam n
adam n
46,483 Points

You've misspelled one of the sql keywords used to make an insert.

Let me know if this helps here

Seho Kim
Seho Kim
2,340 Points

Ah ha! thanks that helped.