#1133

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.

Nur CREATE/ALTER/DROP — kein abschließendes SELECT erforderlich.

Dein Abfrageergebnis erscheint hier

Kein Ausgangsschema

Diese Aufgabe beginnt ohne Tabellen — du erstellst sie mit CREATE TABLE.