Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Colorado Technical University CTU Portal: SQL Programming zy Section 2 . 6 - CS 2 2 1 : Database 2 . 6 LAB - Create

Colorado Technical University
CTU Portal: SQL Programming
zy Section 2.6-CS 221: Database
2.6 LAB - Create Horse table with constraints
Create a Horse table with the following columns, data types, and,constraints. NULL is allowed unless 'not NULL' is explicitly stated.
ID - integer with range 0 to 65535, auto increment, primary key
RegisteredName - variable-length string with max 15 chars, not NULL
Breed - variable-length string with max 20 chars, must be one of the following: Egyptian Arab, Holsteiner, Quarter Horse, Paint, Saddlebred
Height - number with 3 significant digits and 1 decimal place, must be 10.0 and 20.0
BirthDate - date, must be Jan 1,2015
Notes: Not all constraints can be tested due to current limitations of MySQL. Your SQL code does not display any results in Develop mode. Use Submit mode to test your code.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts Of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

4th Edition

0619064625, 978-0619064624

More Books

Students also viewed these Databases questions