SELECT name,text_author_rel.id_text FROM text_author_rel,author WHERE author.id=text_author_rel.id AND text_author_rel.id_text in ()
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1