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.
Apenas CREATE/ALTER/DROP — não é preciso um SELECT no final.
Entre para ver seu histórico de envios
EntrarEntre para usar o AI Mentor
EntrarSem esquema inicial
Esta tarefa não inclui tabelas iniciais: você vai criá-las com CREATE TABLE.