CREATE TABLE
IF NOT EXISTS countrie (
Country_id VARCHAR (30) NOT NULL,
Country_name VARCHAR (40) CHECK (
Country_name IN ('Italy', 'India', 'China')
),
region_id DECIMAL (10, 2) NOT NULL
);
I have written this query where user will not be able to enter country name except Italy,India & China.But I am able to enter other country into my table. Please guide me on this query.