Welcome to Westonci.ca, your go-to destination for finding answers to all your questions. Join our expert community today! Join our platform to connect with experts ready to provide accurate answers to your questions in various fields. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

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, height, and birth date for only horses that have a height between 15.0 and 16.0 (inclusive) or have a birth date on or after January 1, 2020.

Sagot :

The way to write the select statement has been written below.

How to write the query

The query that is going to be written in this statement would be

First use the select command and then add the variables that are of interest.

This would be written as

SELECT

RegisteredName,

Height,

BirthDate

Next you have to specify where you want the select statement to read from so you write

FROM horse

WHERE height BETWEEN  15.0 and 16.0 OR BIRTHDATE  >='2020-01-01'.

The query that is written above if followed would show the data that the operator is seeking for.

Read more on python select statements here:

https://brainly.com/question/14350111

#SPJ1