Er is een fout opgetreden in de query:
Query = select distinct CONCAT(UCASE(LEFT(plaats, 1)), SUBSTRING(plaats, 2)) as plts from w_ad ORDER BY trim(plaats)

Foutmelding = Expression #1 of ORDER BY clause is not in SELECT list, references column 'bonassit_aw.w_ad.plaats' which is not in SELECT list; this is incompatible with DISTINCT