+ 2

who did the zoo question on SQL ?

i have been battling the zoo question, my input was finally similar to the output but it's not accepted as been right

6th Sep 2022, 2:21 PM
Folawiyo Gbadamosi
Folawiyo Gbadamosi - avatar
3 Antworten
+ 7
can you please post your code here?
6th Sep 2022, 2:36 PM
Lothar
Lothar - avatar
+ 5
Folawiyo Gbadamosi , > remove the trailing semicolon on second last line > order should be done by `country`
6th Sep 2022, 3:41 PM
Lothar
Lothar - avatar
+ 3
INSERT into Animals VALUES ('Slim', 'Giraffe', 1); SELECT Animals.name, Animals.type, country from Animals INNER JOIN countries ON Animals.country_id=countries.id; Order by Animals.country_id
6th Sep 2022, 3:14 PM
Folawiyo Gbadamosi
Folawiyo Gbadamosi - avatar