I've run into a problem using an sql query with SUM in it. Im displaying a date and an amount of gram in a listview. Without the SUM it displays the date and gram fine, but it doesnt add up the amount of grams if there are several entries for one date. The SQL query DOES work when i test it in a sqlite database browser. Below is some of my code for this:I've run into a problem using an sql query with