Exercice SQL

Rimka - 22 nov. 2021 à 19:20
Whismeril Messages postés 19024 Date d'inscription mardi 11 mars 2003 Statut Contributeur Dernière intervention 18 avril 2024 - 22 nov. 2021 à 19:49
Bonjour,
J'ai un examen et j'arrive pas à trouver la solution à cet exercice
Considering the following data tables

payments - id, merchant_id, amountmerchants - id, nameinstallments - id, paymentid, duedate, amount

Questions :

Write SQL queries to extract:

The number of payments and total processed amount by merchant name and product type (product type being defined as the number of installments related to the payment) ;The top 10 merchants in terms of total processed amount.
A voir également:

1 réponse

Whismeril Messages postés 19024 Date d'inscription mardi 11 mars 2003 Statut Contributeur Dernière intervention 18 avril 2024 656
22 nov. 2021 à 19:49
0
Rejoignez-nous