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.
Just CREATE/ALTER/DROP — no trailing SELECT needed.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inNo starting schema
This task starts with no tables — you'll create them via CREATE TABLE.