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;
2 odpowiedzi
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 */