What does WHERE age BETWEEN 18 AND 30 return?

SQL Fundamentals Easy

SQL Fundamentals — Easy

What does WHERE age BETWEEN 18 AND 30 return?

Key points

  • The BETWEEN operator is inclusive of the specified values.
  • This query will not return rows with ages less than 18 or greater than 30.
  • It includes rows where age is exactly 18 or 30.

Ready to go further?

Related questions