#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.

CREATE/ALTER/DROP biss — l-ebda SELECT fl-aħħar mhu meħtieġ.

Ir-riżultat tal-query tiegħek jidher hawn

L-ebda skema tal-bidu

Dan l-eżerċizzju jibda mingħajr tabelli — toħloqhom permezz ta' CREATE TABLE.