#1132

A money balance that cannot go negative

Design a ledger table for money balances: the balance is a number with two decimals, required, defaults to 0, and cannot be negative. Columns: id — primary key; balance.

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.