0

Hi there. Could someone help me with SQL ZOO task please.

My query don't accept, I don't understand why:( INSERT INTO Animals (name, type, country_id) 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 DESC;

14th Feb 2021, 10:07 PM
Anton Chertkov
Anton Chertkov - avatar
2 Respuestas
0
/*Try this out */ INSERT INTO animals (name, type, country_id) 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 ASC; /* I did that and collected 100XP */
19th Feb 2021, 4:49 AM
Billy Korahan
Billy Korahan - avatar