Database error: Expression #1 of ORDER BY clause is not in SELECT list, references column 'kb.ind.ind_timestamp' which is not in SELECT list; this is incompatible with DISTINCT
SQL: SELECT DISTINCT kll_id FROM kb3_kills kll INNER JOIN kb3_inv_detail ind ON (ind.ind_kll_id = kll.kll_id) WHERE ( ind.ind_plt_id in (1,158 ) ) AND ind.ind_timestamp >= '2019-06-01 00:00:00' AND ind.ind_timestamp <= '2019-06-30 23:59:00' order by ind.ind_timestamp desc