string(987) "SELECT document.title AS title, document.id AS doc_id, document.id_class AS class_id, document.matiere AS matiere_id, document.rubrique AS rubrique_id, matieres.sort AS matiere_sort, class.sort AS class_sort, 1 FROM document INNER JOIN class ON document.id_class=class.id INNER JOIN rubriques ON document.rubrique=rubriques.id INNER JOIN matieres ON document.matiere=matieres.id WHERE id_blog=1560 AND document.state=1 AND rubrique=12 UNION SELECT quizz_questions.title AS title, quizz_questions.id AS doc_id, s_class AS class_id, s_matiere AS matiere_id, s_rubrique AS rubrique_id, matieres.sort AS matiere_sort, class.sort AS class_sort, 2 FROM quizz_questions INNER JOIN class ON s_class=class.id INNER JOIN rubriques ON s_rubrique=rubriques.id INNER JOIN matieres on s_matiere=matieres.id WHERE id_blog=1560 AND quizz_questions.status=1 AND s_rubrique=12 ORDER BY class_sort ASC, title ASC "