0

Please guys help me to solve, the zoo problem sql. Where did i commit mistake? This code bring the same output required.

/* name - "Slim", type - "Giraffe", country_id - 1 */ INSERT into animals values('slim','Giraffe','1'); SELECT animals.name,animals.type,countries.country from animals INNER JOIN countries on animals.country_id=countries.id order by countries.country;

1st Dec 2021, 1:12 PM
Arsénio Malene
Arsénio Malene - avatar
4 Antworten
+ 2
/* name - "Slim", type - "Giraffe", country_id - 1 */ INSERT into Animals(name, type, country_id) VALUES ('Slim', 'Giraffe', 1); SELECT zoo.name, zoo.type, countries.country FROM Animals as zoo INNER JOIN countries on zoo.country_id = countries.id order by countries.country
1st Dec 2021, 1:25 PM
Zubae
Zubae - avatar
+ 1
Try to to paste exact same copy ?
7th Dec 2021, 11:34 AM
Zubae
Zubae - avatar
+ 1
Thank you dude, you real helped me. Am so thankful.
7th Dec 2021, 8:10 PM
Arsénio Malene
Arsénio Malene - avatar
0
I don't know why but it didn't work. These athe last SQL exam if you feel like trying there, you would have helped me a lot.
6th Dec 2021, 10:59 PM
Arsénio Malene
Arsénio Malene - avatar