55 of 100 menu

SQL Taskbook Level 6.5

The tables are given:

products
id name category_id price
1 toy-131113 1 15
2 chair-322312 2 2000
3 sofa-321131 2 2500
4 Rich Dad, Poor Dad 3 50
5 1986 3 50
6 Atomic Habits 3 60
7 toy-12311 1 20
8 toy-23821 1 15
9 shelf-23421 2 900
categories
id name
1 Toys
2 Furniture
3 Books

Solve the following tasks for them:

Find the category with the highest average price of products.

Count the number of products in each category.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline