Problem Description

In Products, price must be >= 1. Add a CHECK constraint.

Input Format

SQL DDL

Output Format

DDL statement(s)

Sample Test Case

Input:
Products(price)
Output:
Constraint added

Constraints

Assume table exists

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next