Database error: Expression #1 of ORDER BY clause is not in SELECT list, references column 'killboard.ina.ina_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 ) INNER JOIN kb3_inv_all ina ON (ina.ina_kll_id = kll.kll_id) WHERE ina.ina_all_id in (1 ) AND ina.ina_timestamp >= '2019-02-11 00:00:00' AND ina.ina_timestamp <= '2019-02-17 23:59:59' AND shp.shp_class in ( 22 ) order by ina.ina_timestamp desc