By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
9 rows affected
acctid | usrid | sts | Status |
---|---|---|---|
A | U13 | Enabled | Active |
A | U14 | Enabled | Active |
A | U15 | Disconnected | Active |
A | U16 | Disconnected | Active |
B | U30 | Disconnected | Cancelled |
B | U31 | Disconnected | Cancelled |
C | U32 | null | Unknown |
D | U133 | Enabled | Active |
D | U12 | Enabled | Active |
Warning: Null value is eliminated by an aggregate or other SET operation.