Database, Sql, Data Science, Data Analysis, Data Visualization.
(10,2), discount INTEGER, payment_method VARCHAR(20) DEFAULT 'COD' ); CHECK CHECK constraint is used to ensure the values in a column satisfy the specified condition. If the specified condition is not met, the database will raise an error. -- Here, discount column should always have value less than