gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
I am making a c# project with sqlite and I got an sql logic error, can you help me where…
- User
I am making a c# project with sqlite and I got an sql logic error, can you help me where is it?
"INSERT Categorias INTO (código, descripción, precio, color) VALUES('R', 'ROJA', '2100.0', '#FFFF0006')", $"INSERT Categorias INTO (código, descripción, precio, color) VALUES('B', 'BLANCA', '2200.0', '#FFFDFDFE')");
- Assistant
The error is in the INSERT statements. The table name is missing after the keyword "INSERT". It should be:
"INSERT INTO Categorias (código, descripción, precio, color) VALUES('R', 'ROJA', '2100.0', '#FFFF0006')", "INSERT INTO Categorias (código, descripción, precio, color) VALUES('B', 'BLANCA', '2200.0', '#FFFDFDFE')");