Problem Description

In table Reviews(review_id, rating, comment), rating must be between 1 and 5.

Input Format

SQL DDL

Output Format

DDL statement(s)

Sample Test Case

Input:
Reviews(review_id, rating, comment)
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