From 40610053245084c1dc87de12eceeca0eda2c16f8 Mon Sep 17 00:00:00 2001 From: anthonydb Date: Sat, 2 Jan 2021 17:10:41 -0500 Subject: [PATCH] Chapter 10 IS DISTINCT FROM update --- Chapter_10/Chapter_10.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter_10/Chapter_10.sql b/Chapter_10/Chapter_10.sql index a55d1a0..633338f 100644 --- a/Chapter_10/Chapter_10.sql +++ b/Chapter_10/Chapter_10.sql @@ -104,7 +104,7 @@ SET st_copy = st; SELECT st, st_copy FROM meat_poultry_egg_establishments -WHERE st <> st_copy +WHERE st IS DISTINCT FROM st_copy ORDER BY st; -- Listing 10-11: Updating the st column for three establishments