From bb3e2b34b8058f04b792b61833699ab8b074cfa7 Mon Sep 17 00:00:00 2001 From: Matt Oldham Date: Sat, 24 Nov 2018 09:00:54 -0500 Subject: [PATCH] Correct language about exclusivity of BETWEEN clause (#22632) * Correct language about exclusivity of BETWEEN clause SQL BETWEEN clause is inclusive both in the SQL standard as well as in MySQL. * fix(guide): remove misleading sentence --- guide/english/sql/sql-between-operator/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/sql/sql-between-operator/index.md b/guide/english/sql/sql-between-operator/index.md index 0597a4fb0f..b3ae97cfb3 100644 --- a/guide/english/sql/sql-between-operator/index.md +++ b/guide/english/sql/sql-between-operator/index.md @@ -8,9 +8,9 @@ x <= element <= y, the SQL Query Optimizer will recognize this command faster, a This operator is used in a WHERE clause or in a GROUP BY HAVING clause. -Rows are selected that have a value greater than the minimum value and less than the maximum value. +Rows are selected that have a value greater than or equal to the minimum value and less than or equal to the maximum value. -It's important to keep in mind that the values entered in the command are **excluded** from the result. We get just what is between them. +It's important to keep in mind that the values entered in the command are **included** in the result. Here is the syntax for using the function in a WHERE Clause: