By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
(No column name) |
---|
Microsoft SQL Server 2019 (RTM-CU16) (KB5011644) - 15.0.4223.1 (X64) Apr 11 2022 16:24:07 Copyright (C) 2019 Microsoft Corporation Express Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) (Hypervisor) |
4 rows affected
id | (No column name) |
---|---|
1 | 1 |
2 | 2 |
3 | 1 |
id | name | address_type | address | features | cnt |
---|---|---|---|---|---|
1 | Bob | Home | 123 Nope St | JP | 1 |
2 | John | Work | 555 Fake St | MNGF | 2 |
3 | Kim | Work | 92 Nadda Blvd | MP | 1 |
id | name | address_type | ft | cnt |
---|---|---|---|---|
2 | John | Work | MNGF IMP JP | 2 |
id | name | address_type | address | features |
---|---|---|---|---|
2 | John | Work | 555 Fake St | MNGF IMP JP |
id | name | address_type | address | features |
---|---|---|---|---|
1 | Bob | Home | 123 Nope St | JP |
2 | John | Work | 555 Fake St | MNGF IMP JP |
3 | Kim | Work | 92 Nadda Blvd | MP |