I NEED SQL commands. (like how to select and inner join.) problems 1-5 please. D
ID: 3822260 • Letter: I
Question
I NEED SQL commands. (like how to select and inner join.) problems 1-5 please.
Develop SQL query to answer each question. In a WORD compatible document and for each question: State my question Write the SQL query to answer the question Paste a section of the results from your query (copy from phpmyadmin display) Upload your completed assignment. Contact Ran Xu or Faze Brahman if you have questions. List the top 10 customers that placed the most orders (total quantity of orders, not $$)? List the top 10 customers by order value ($$). Which country is our biggest customer (by the total $$ of orders)? Each order is made up of several parts, and each part is produced by different suppliers. Which supplier provides the most parts? Which countries provide us the most supplies? List the total value ($$) of purchases by country.Explanation / Answer
SELECT c.name FROM ( select total(o.quantity) GROUP BY sal ORDER BY sal DESC ) WHERE Rank <= 10;
SELECT c.name FROM ( select order GROUP BY sal ORDER BY sal DESC ) WHERE Rank <= 10
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.