Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 . 1 2 LAB - Update rows in Horse table The Horse table has the following columns ID - integer, auto increment, primary key

2.12 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, Halsteinet, Quarter Harse, Paint, Saddlebred
Height-decimal number, must be 10.0 and 20.0
BirthDate - date, must be 2 dan 1,2015
Make the following updates:
Change the height to 15.6 for harse with ID 2
Change the registered name to Lady Luck and birth date to May 1,2015 for horse with ID 4.
Change every horse breed to NULL for horses born on or after December 22,2016.
Note Your SQL code does nat display ary resuits in Develop mode. Use Submit mode to test your code.
1-- Your SQL statewents goes here
2
Explore the database and run your program as often as you'd like, before submitting for
grading. Click Run program and observe the program's output in the second box.
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

Oracle Database Upgrade Migration And Transformation Tips And Techniques

Authors: Edward Whalen ,Jim Czuprynski

1st Edition

0071846050, 978-0071846059

More Books

Students also viewed these Databases questions

Question

7. Identify four antecedents that influence intercultural contact.

Answered: 1 week ago

Question

5. Describe the relationship between history and identity.

Answered: 1 week ago