Код: Выделить всё
SELECT created_time, SUM(score)
FROM traineescoretest
GROUP BY created_time
Подробнее здесь: https://stackoverflow.com/questions/588 ... -codeignit
Код: Выделить всё
SELECT created_time, SUM(score)
FROM traineescoretest
GROUP BY created_time