Не удалось выполнить запрос! Expression #1 of ORDER BY clause is not in SELECT list, references column 'tula_tf.ttf_system_modules_competition.dates_begin' which is not in SELECT list; this is incompatible with DISTINCT