Мудрость дня: «Успех чаще выпадает на долю того, кто смело действует.»
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 't.company_categories)' at line 1
select count(*) as total from company t inner join company_description td using (company_id) left join refbooks_description city on (t.city_id=city.refbooks_id) where t.company_status='1' and td.language_id = '1' and find_in_set(,t.company_categories)