- Notifications
You must be signed in to change notification settings - Fork2.4k
Open
Description
Bug Report forhttps://neetcode.io/problems/sql-check-constraint
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
While check for constraints, the test fails if you reverse the order of constraint check.
status text check (status IN ('available', 'out of stock')) - This passesstatus text check (status IN ( 'out of stock', 'available')) - This fails
Ideally both should work.
Metadata
Metadata
Assignees
Labels
No labels