Let AJAX get this query in Jason (currently only jsoc_sums db)
sql query: