By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
6 rows affected
Custld | result |
---|---|
123 | both |
124 | just one |
125 | just one |
126 | just two |
Warning: Null value is eliminated by an aggregate or other SET operation.