#1040

Refunds Linked to Payments

The table payments(id int primary key) is already available. Create refunds with id as an int primary key, required payment_id as int referencing payments(id), required amount as numeric, and optional reason as text.

Uniquement CREATE/ALTER/DROP — aucun SELECT final nécessaire.

Le résultat de votre requête apparaîtra ici

Aucun schéma de départ

Cet exercice démarre sans aucune table — vous les créerez via CREATE TABLE.