Database error: Expression #1 of ORDER BY clause is not in SELECT list, references column 'killboard.kll.kll_timestamp' which is not in SELECT list; this is incompatible with DISTINCT
SQL: SELECT DISTINCT kll_id FROM kb3_kills kll STRAIGHT_JOIN kb3_ships shp ON ( shp.shp_id = kll.kll_ship_id ) STRAIGHT_JOIN kb3_ship_classes scl ON ( scl.scl_id = shp.shp_class ) WHERE kll.kll_timestamp >= '2019-05-20 00:00:00' AND kll.kll_timestamp <= '2019-05-26 23:59:59' AND ( kll.kll_all_id in ( 1 ) ) AND shp.shp_class in ( 40 ) order by kll.kll_timestamp desc