i have a table which has fields like this:
id | created | action_type | value
Created is a timestamp in a varchar field. What i need to do is to calculate the average actions per day in one query. All need to be grouped by one day.
so i need something like this
2017-10-01 : 15
2017-10-02 : 20
How can i achieve this? :)