Skip to content

Instantly share code, notes, and snippets.

View kwburnett's full-sized avatar

Kevin Burnett kwburnett

  • Banda Health
  • Nairobi, Kenya
View GitHub Profile
@kwburnett
kwburnett / task_calculation.sql
Last active July 30, 2023 16:40
A way to roughly calculate how long tasks took to complete
WITH holidays AS (
SELECT
'2023-12-25'::date AS holiday_date
UNION
SELECT
'2022-12-26'::date
UNION
SELECT
'2023-11-23'::date
),