solulubeta
Sign in
SQL / Changing data & structure
07.07 · SQL

No zero-quantity sales

Add a CHECK constraint named chk_quantity_sold to sales so that quantity_sold must always be greater than zero.

Hard 3 min Pro

This lesson is part of solulu Pro

Add a CHECK constraint named chk_quantity_sold to sales so that quantity_sold must always be greater than zero.

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this as done when you are finished.

Item 73 of 77 · updated 2026-10-12