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

Ainult CREATE/ALTER/DROP — lõpus pole vaja SELECT-i.

Sinu päringu tulemus ilmub siia

Algskeemi pole

See ülesanne algab ilma tabeliteta — loo need käsuga CREATE TABLE.