Question: CREATE TABLE Horse ( ID INT UNSIGNED AUTO _ INCREMENT PRIMARY KEY, RegisteredName VARCHAR ( 1 5 ) NOT NULL, Breed ENUM ( ' Egyptian

CREATE TABLE Horse (
ID INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
RegisteredName VARCHAR(15) NOT NULL,
Breed ENUM('Egyptian Arab', 'Holsteiner', 'Quarter Horse', 'Paint', 'Saddlebred') NOT NULL,
Height DECIMAL(4,1) CHECK (Height >=10.0 AND Height <=20.0),
BirthDate DATE CHECK (BirthDate >='2015-01-01'),
Notes TEXT
) AUTO_INCREMENT=0;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!