Coupons: unique code and discount range
Design a coupons table: the code is required and unique, and the discount pct is an integer from 1 to 100. Columns: id — primary key; code; pct.
Endast CREATE/ALTER/DROP — ingen avslutande SELECT behövs.
Logga in för att se historik över inskick
Logga inLogga in för att använda AI-mentorn
Logga inInget startschema
Den här uppgiften börjar utan tabeller — du skapar dem med CREATE TABLE.