19 of 100 menu

SQL Taskbook Level 2.9

Given a table:

order_details
id name product_count discount
1 Aaron 8 10
2 Max 4 20
3 Catherine 6 30
4 Catherine 3 50
5 Aaron 2 0

Solve the following tasks for it:

Find orders by considering only orders with product quantities greater than the average order quantity.

Find products with the highest discount in orders.

Display orders where the number of products is greater than 5 and identify the customers who made such orders.

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