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

Solo CREATE/ALTER/DROP — no hace falta un SELECT al final.

Aquí aparecerá el resultado de tu consulta

Sin esquema inicial

Este ejercicio no incluye tablas iniciales: tendrás que crearlas con CREATE TABLE.