0

SQL lesson problem

on the problem of zoo i can't pass that any one can help me by sending the solution

4th Mar 2021, 8:40 AM
Walelign Balew
Walelign Balew - avatar
6 ответов
+ 1
How to solve lesson 19.2
29th Nov 2022, 4:38 PM
Christy Roshanth
Christy Roshanth - avatar
+ 1
SELECT products.productname,products.price,categories.categoryname FROM categories INNER JOIN products on categories.id=products.categoryid ORDER by products.id ASC ;
29th Nov 2022, 4:39 PM
Christy Roshanth
Christy Roshanth - avatar
+ 1
This queries failed Help me
29th Nov 2022, 4:41 PM
Christy Roshanth
Christy Roshanth - avatar
0
What's the question dude.... I have no clue about where the question is?..
4th Mar 2021, 12:17 PM
Vishnuvasan Srinivasan
Vishnuvasan Srinivasan - avatar
0
Vishnuvasan Srinivasan The Code Coach exercise is found here https://www.sololearn.com/coach/1059?ref=app. Walelign Balew the solution requires two SQL statements, an INSERT statement and a SELECT query, separated by a semi-colon. The SELECT query should use a JOIN clause to join tables by key fields and an ORDER BY clause to sort. The problem is categorized as Hard. It may require some review of the lesson and examples. If you need further help then please show what you tried and explain what is going wrong.
5th Mar 2021, 12:34 AM
Brian
Brian - avatar
0
I found the solution, INSERT INTO Animals (name, type, country_id) Values('Slim', 'Giraffe', 1) SELECT name, type, country FROM Animals Inner Join Countries ON animals.country_id = countries.id ORDER BY countries DESC
6th Mar 2021, 10:16 PM
Ricardo Nicolás Michini
Ricardo Nicolás Michini - avatar