doubleloop
  • stream
  • garden
  • about

tech + politics + nature + culture

Tag: sql

Handy bit of SQL for generating a calendar table in MySQL:

https://gist.github.com/bryhal/4129042

The table is really helpful for when you need to do some analysis on a date series and you have days where nothing happened, but you want those days included.

6th June 2019
  • coding
  • mysql
  • sql
Leave a comment

Neil Mather

Go slow and fix things.

drop me an email at neil at doubleloop.net

← Part of an IndieWeb Webring πŸ•ΈπŸ’ β†’

Find out more at indieweb.org.

Recent activity in the garden

  • Recent Changes
    6th February 2026
  • Google Pixel 5a
    5th February 2026
  • Adding shortcuts for entering email addresses in Heliboard
    1st February 2026
  • Emacs Carnival: This year I'll...
    31st January 2026
  • Emacs Carnival
    31st January 2026
  • org-mode and GTD
    31st January 2026
  • My Spacemacs User Config
    21st January 2026
  • Mixtapes
    18th January 2026
  • The Innovation Delusion
    18th January 2026
  • Tracks that I have liked at some point in my life, in no particular order
    18th January 2026

See more recent changes here.

Proudly powered by WordPress | Theme: doublescores by doubleloop.