SELECT tbl_work.title as worktitle, tbl_work.id as id_work, tbl_doc.title as doctitle, tbl_doc.id as id_doc, tbl_doc.id_author, tbl_doc.id_type, tbl_content.id, tbl_content.title, tbl_content.text, tbl_content.id_text, tbl_author.surname, tbl_author.name FROM tbl_content, tbl_doc LEFT JOIN tbl_work ON tbl_work.id = tbl_doc.id_work LEFT JOIN tbl_author ON tbl_author.id = tbl_doc.id_author WHERE tbl_content.id = 1337886 AND tbl_content.status = 1 AND tbl_doc.id = tbl_content.id_doc ORDER BY tbl_content.position
Errore