Created
October 25, 2016 08:28
-
-
Save philroche/01a07a2021ca76b9179ee627633e6a3a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select strftime("%d/%m",facts.start_time) as start_date,facts.start_time, facts.end_time, activities.name, cast((strftime('%s',facts.end_time)-strftime('%s',facts.start_time)) AS real)/60/60 AS elapsed FROM facts, activities where facts.activity_id = activities.id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment