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

Solo CREATE/ALTER/DROP — no hace falta un SELECT al final.

Aquí aparecerá el resultado de tu consulta

Sin esquema inicial

Este ejercicio no incluye tablas iniciales: tendrás que crearlas con CREATE TABLE.