Expression #1 of ORDER BY clause is not in SELECT list, references column 'atvshop_db.coupons.cpnID' which is not in SELECT list; this is incompatible with DISTINCTExpression #1 of ORDER BY clause is not in SELECT list, references column 'atvshop_db.coupons.cpnID' which is not in SELECT list; this is incompatible with DISTINCT
Expression #1 of ORDER BY clause is not in SELECT list, references column 'atvshop_db.coupons.cpnID' which is not in SELECT list; this is incompatible with DISTINCT