Databases · Junior · Question 18 of 75

What does WHERE price BETWEEN 10 AND 20 include?

Explanation

BETWEEN is inclusive on both ends. With timestamps this can be surprising, so ranges like >= start AND < end are often safer.

Further reading

Problem with a question

Databases · Junior · question 18

Test yourself

Take the Databases · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz