By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
(No column name) |
---|
Microsoft SQL Server 2022 (RTM) - 16.0.1000.6 (X64) Oct 8 2022 05:58:25 Copyright (C) 2022 Microsoft Corporation Express Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) (Hypervisor) |
Ref_date | Ref_source |
---|---|
6/12/2024 | A |
6/13/2024 | A |
6/14/2024 | B |
6/15/2024 | b |
Ref_Source | Year | Jan | Feb | Mar | Q1 | Apr | May | June | Q2 | July | Aug | Sep | Q3 | Oct | Nov | Dec | Q4 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | 2024 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
B | 2024 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |