51 of 100 menu

SQL Taskbook Level 6.1

The tables are given:

orders
id customer_id date total_amount
1 1 2023-10-20 305
2 5 2023-10-22 3100
3 2 2023-10-24 4100
4 2 2023-10-26 2500
5 3 2023-10-28 2005
ordered_products
id product_id quantity
1 1 1
2 1 1
3 3 3
4 2 1
5 2 2
5 1 3
5 1 4
5 1 6
5 2 8

Solve the following tasks for them:

Find the total cost of all orders.

Create a list of orders in which more than 5 items were ordered.

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