A min/max rule checks that a number stays inside a small exact range.
1≤qty≤5
Check the quantity
Two rows miss the range, so violations are 2 and failed rows are 2.
violations=2
Check examples are tiny finite row-rule validations; SQL dialects, DDL timing, CHECK expression languages, enforcement strategy, performance, and product behavior are out of scope.
Read both sides
One quantity is below the minimum and one is above the maximum.
below or above
Summary
Only integer bounds are modeled here; general CHECK expressions stay out of scope.