Baselight
SELECT strftime(time, '%Y-%m') AS year_month, max(mag) as peak_magnitude, count(id) as nr_earthquakes
FROM @pjsousa.sandbox.earthquakes_since_2023_csv a
GROUP BY year_month
order by 1
year_monthpeak_magnitudenr_earthquakes
2023-017.6645
2023-027.8656
2023-037554
2023-047.1538
2023-057.7663
2023-067.2614
2023-077.2484
2023-087.1492
2023-096.8517
2023-106.9677
2023-117.1694
2023-127.61117
2024-017.5623
2024-026.3508
2024-036.9509
2024-047.4705
2024-056.6546
2024-067.2507
2024-077.4474
2024-087.1450
2024-096.5481
2024-106.6522
2024-116.8487
2024-127.3585
2025-017.1654
2025-027.6563
2025-037.7426

Share link

Anyone who has the link will be able to view this.