Chapter 10 IS DISTINCT FROM update

This commit is contained in:
anthonydb 2021-01-02 17:10:41 -05:00
parent 370cdd0a21
commit 4061005324

View File

@ -104,7 +104,7 @@ SET st_copy = st;
SELECT st, SELECT st,
st_copy st_copy
FROM meat_poultry_egg_establishments FROM meat_poultry_egg_establishments
WHERE st <> st_copy WHERE st IS DISTINCT FROM st_copy
ORDER BY st; ORDER BY st;
-- Listing 10-11: Updating the st column for three establishments -- Listing 10-11: Updating the st column for three establishments