sql - SQLite date group/sort issue -


i have id's timestamps d/m/y/t value linked each id. i'm looking add total value per day, multiple id's.

what have far

select strftime('%y-%m-%d', event_time) valday, sum(purchase_cost_usd) iap group valday; 

issue getting summed purchase_cost_usd, not per day, , no list.

all appreciated!

what have shown accumulated cost per day


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -