+ 1

SQL Zoo project - please help me

no output comeout from the coding. also has no playground for SQL to test please help me. im stuck here..i want to add 1 more animal in table Animals, also want to inner join the table with Countries. /* 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 country;

13th Feb 2021, 3:48 AM
NURLIYANA AMIRAH
NURLIYANA AMIRAH - avatar
5 Antworten
+ 1
NURLIYANA AMIRAH There should be ORDER BY country_id DESC
13th Feb 2021, 4:36 AM
A͢J
A͢J - avatar
+ 1
Try this Your code will be /* name - "Slim", type - "Giraffe", country_id - 1 */ 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;
14th Feb 2021, 2:50 AM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
+ 1
help me i'need zoo coding
3rd May 2021, 6:26 PM
Safarudin
Safarudin - avatar
+ 1
Safarudin What help do you need
3rd May 2021, 10:01 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
0
sory AJ..i have tried but the result is no output..
13th Feb 2021, 6:01 AM
NURLIYANA AMIRAH
NURLIYANA AMIRAH - avatar