#1048

Prices Cannot Be Negative

Design the prices table so invalid amounts cannot enter the database. It needs id as the primary key and required amount as numeric; amount must satisfy amount >= 0.

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.