sql query for json_getIndexChartsTopPoliticians corrected