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

Doar CREATE/ALTER/DROP — nu este nevoie de un SELECT la final.

Rezultatul interogării tale va apărea aici

Fără schemă inițială

Această problemă începe fără tabele — le vei crea prin CREATE TABLE.