Skip to content

Instantly share code, notes, and snippets.

Created June 1, 2015 17:16
Show Gist options
  • Save anonymous/537e3d13eda7277768f0 to your computer and use it in GitHub Desktop.
Save anonymous/537e3d13eda7277768f0 to your computer and use it in GitHub Desktop.
SQLite version 3.8.9 2015-04-08 12:16:33
Enter ".help" for usage hints.
sqlite> select dream_color_monitors.id,calibrations.dream_color_monitor_id,tag,min(date)
...>
...> from dream_color_monitors,calibrations
...>
...> where dream_color_monitors.id = calibrations.dream_color_monitor_id
...>
...> and date > date('now')-90
...>
...> group by tag;
1|1|123456|2015-05-27 17:00:00.000000
2|2|654321|2015-05-27 17:00:00.000000
sqlite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment