By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
(No column name) |
---|
Microsoft SQL Server 2019 (RTM-CU6) (KB4563110) - 15.0.4053.23 (X64) Jul 25 2020 11:26:55 Copyright (C) 2019 Microsoft Corporation Express Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) (Hypervisor) |
style | color | week | location | size_code | actual_size | min_size_code | max_size_code | min_actual_size | max_actual_size |
---|---|---|---|---|---|---|---|---|---|
AB123 | WY4567 | 202002 | 111 | E11222 | 2 | E15666 | E10666 | 00 | 14 |
AB123 | WY4567 | 202002 | 111 | E12333 | 4 | E15666 | E10666 | 00 | 14 |
AB123 | WY4567 | 202002 | 111 | E13444 | 6 | E15666 | E10666 | 00 | 14 |
AB123 | WY4567 | 202002 | 111 | E10666 | 14 | E15666 | E10666 | 00 | 14 |
AB123 | WY4567 | 202002 | 111 | E15666 | 00 | E15666 | E10666 | 00 | 14 |
AB123 | WY4567 | 202002 | 111 | E11666 | 0 | E15666 | E10666 | 00 | 14 |
XY123 | WY4567 | 202002 | 111 | E11666 | 1 | E12666 | E13444 | 0 | 2 |
XY123 | WY4567 | 202002 | 111 | E13444 | 2 | E12666 | E13444 | 0 | 2 |
XY123 | WY4567 | 202002 | 111 | E12666 | 0 | E12666 | E13444 | 0 | 2 |
Warning: Null value is eliminated by an aggregate or other SET operation.