select * from banners where (find_in_set(7_7,category_to_display) and status='1' and position='0' and status='1') order by rand() asc 1054 Unknown column '7_7' in 'where clause'