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

Pelkkä CREATE/ALTER/DROP — lopussa ei tarvita SELECT-lausetta.

Kyselysi tulos näkyy tässä

Ei aloitusskeemaa

Tämä tehtävä alkaa ilman tauluja — luot ne CREATE TABLE -komennolla.