Question: The Horse table has the following columns: ID - integer, primary key RegisteredName - variable - length string Breed - variable - length string Height

The Horse table has the following columns:
ID - integer, primary key
RegisteredName - variable-length string
Breed-variable-length string
Height-decimal number
BirthDate - date
Write a SELECT statement to select the registered name and height for only horses that have an above average height. Order the results by height (ascending).
Hint: Use a subquery to find the average height.
539766.3055218.93zqy7
LAB
ACTIVITY
4.11.1: LAB - Select tall horses with subquery
010
Main.sql
Load default template...
1-- Your SQL statements go here
 The Horse table has the following columns: ID - integer, primary

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!