Select subiecte Failed select subjects.*, count(texte.subject) as number from subjects, texte where subjects.moderator like '%:3863:%' and texte.subject=subjects.subject and texte.ref_user_id=3863 AND texte.status in (1,2,3,4) AND texte.lang='ron' group by subjects.subject