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

Jen CREATE/ALTER/DROP — závěrečný SELECT není potřeba.

Výsledek vašeho dotazu se zobrazí zde

Žádné výchozí schéma

Tato úloha začíná bez tabulek — vytvoříte je pomocí CREATE TABLE.