Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can you help fix the error 2.17 LAB - Update rows in Horse table The Horse table has the following columns: - ID - integer,
can you help fix the error
2.17 LAB - Update rows in Horse table The Horse table has the following columns: - ID - integer, auto increment, primary key - RegisteredName - variable-length string - Breed - variable-length string, must be one of the following. Egyptian Arab, Holsteiner, Quarter Horse, Paint, Saddlebred - Height - decimal number, musybe 10.0 and 20.0 - BirthDate - date, must be z Jan 1,2015 Make the following updates: 1. Change the height to 15.6 for horse with ID 2 . 2. Change the registered name to Lady Luck and birth date to May 1,2015 for horse with i0 4. 3. Change every horse breed to NULL for horses bom on or after December 22, 2016. 1 Update the height of horse with ID 1D2: 2 UPDATE Horse 3 SET Height =15,6 4 WHERE ID - 'ID2'; 5 UPDATE Horse 6 SET RegisteredName = 'Lady Luck', BirthDate = '2015-05-81' 7 WHERE ID = 'ID4'; 8 UPDATE Horse 9 SET Breed = NULL 10 WHERE BirthDote >%20161222; Explore the database and run your program as often as youd like, before submitting for groding. Click Run program and observe the program's output in the secend box Program errors displayed here SifRop 1064(42000) at line it You have an error in your SQL syntax; eheek the manusi that corresp UPDATE HOF BE SE2 Helght - 15,6 Whate ID - "ID2" at line 1 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started