diff --git a/en/models/retrieving-your-data.rst b/en/models/retrieving-your-data.rst index 59f9b02f5d..6a46e3a1f2 100644 --- a/en/models/retrieving-your-data.rst +++ b/en/models/retrieving-your-data.rst @@ -1011,7 +1011,7 @@ Which produces the following SQL:: WHERE ((`Company`.`name` = 'Future Holdings') OR - (`Company`.`name` = 'Steel Mega Works')) + (`Company`.`city` = 'CA')) AND ((`Company`.`status` = 'active') OR (NOT (`Company`.`status` IN ('inactive', 'suspended'))))