CREATE TABLE Horse( 
    ID INT AUTO_INCREMENT PRIMARY KEY, 
    RegisteredName VARCHAR(30), 
    Breed VARCHAR(30), 
    Height DECIMAL(3,2), 
    BirthDate DATE
    ); 

SELECT AVG(Height) AS AverageHeight 
FROM Horse 
WHERE Height < 17; 

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: