0
SQL lesson problem
on the problem of zoo i can't pass that any one can help me by sending the solution
6 Respostas
+ 1
How to solve lesson 19.2
+ 1
SELECT products.productname,products.price,categories.categoryname
FROM categories
INNER JOIN products
on categories.id=products.categoryid
ORDER by products.id ASC ;
+ 1
This queries failed
Help me
0
What's the question dude....
I have no clue about where the question is?..
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.
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