Direction: Choose the correct option
Q1.
What are constraints in SQL?
Direction: Choose the correct option
Q2.
Which constraint ensures a column cannot have NULL values?
Direction: Choose the correct option
Q3.
CREATE TABLE products (
price DECIMAL CHECK (price > 0)
);What constraint is applied?Direction: Choose the correct option
Q4.
What does DEFAULT constraint do?
Direction: Choose the correct option
Q5.
Which constraint ensures all values in a column are different?
