PALLET DOLLY

Expression #1 of ORDER BY clause is not in SELECT list, references column 'otaiwebs_bbsra.xsos.sort_os' which is not in SELECT list; this is incompatible with DISTINCT