0
INSERT INTO Animals (name, type, country_id) VALUES ('Slim', 'Giraffe', 1);
I type this query in last sql project but answer no output and try again please let me know where am I wrong?
2 ответов
+ 2
Zalak Kaushal Patel
Just inserting data is not enough, you have to write select query to display data.
Did you read this statement?
"Write a query to output a new table with each animal's name, type and country fields, sorted by countries."
This is the biggest mistake of all new learner, they don't read everything.
+ 2
You inserted new data to the db but you didn't make any query from db.
For that use SELECT * FROM db WHERE name = 'Slim'