We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SELECT datetime(BeginTimeStamp,'unixepoch', 'localtime') as d, activityId,SumDistance FROM gc_activities
SELECT datetime(BeginTimeStamp,'unixepoch', 'localtime') as d, COUNT(activityId),SUM(SumDistance) FROM gc_activities GROUP BY d