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) |
22 rows affected
client_id | max_in_a_row | min_in_a_row | num_groups |
---|---|---|---|
1 | 3 | 3 | 1 |
2 | 4 | 4 | 1 |
3 | 3 | 3 | 2 |
Warning: Null value is eliminated by an aggregate or other SET operation.