0
What is wrong with my code? It is an answer to the third project in SQL
/* 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;
2 ответов
0
See this it will more help
INSERT into animals(country_id,name,type) VALUES(1,'Slim','Giraffe');
SELECT name,type,country FROM animals INNER JOIN countries on animals.country_id=countries.id order by animals.country_id DESC ;
0
Thank you very much santosh