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 variablelength string
Breedvariablelength string
Heightdecimal 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.
LAB
ACTIVITY
: LAB Select tall horses with subquery
Main.sql
Load default template...
Your SQL statements go here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
