diff --git a/Chapter_03/Chapter_03.sql b/Chapter_03/Chapter_03.sql index bf07278..c94fc71 100644 --- a/Chapter_03/Chapter_03.sql +++ b/Chapter_03/Chapter_03.sql @@ -84,7 +84,7 @@ WHERE salary BETWEEN 40000 AND 65000; SELECT first_name, last_name, school, salary FROM teachers -WHERE salary >= 40000 AND salary < 65001; +WHERE salary >= 40000 AND salary <= 65000; -- Listing 3-8: Filtering with LIKE AND ILIKE