Expression #1 of ORDER BY clause is not in SELECT list, references column 'meublesbdm.bermex2017_picture.tri' which is not in SELECT list; this is incompatible with DISTINCT