AVUI, A NACIÓ

select *, titulo as titulo, if (firma_como_ai>0, (select nombre from cms_blogs where id_blog=firma_como_ai limit 1), autor ) as autor, if (firma_como_ai_2>0, (select nombre from cms_blogs where id_blog=firma_como_ai_2 limit 1) , autor_2 ) as autor_2, if (firma_como_ai_3>0, (select nombre from cms_blogs where id_blog=firma_como_ai_3 limit 1) , autor_3 ) as autor_3, friendly_url, friendly_url_categoria, (select nombre from cms_portadas_edicionv2 where id_portada_edicion = cms_articulos.id_categoria) as edicion from cms_articulos where supervisado=1 and (visible_en_periodico in ('', '') or (supervisado=1 and visible_en_periodico in ('P', ''))) and id_articulo not in(10097568,10097593,10097609,10097558,10097505,10097420,10097378,10097157,10097603,10097554,10097551,10097406,10097374,10097452,10097431,10097544,10097391,10097320,10097471,10097457,10097487,10097418,10096593,10097342,10097155,10097547,10097470,10097516,10097407,10096723,10096028,10096082,10097512,10097546,10097541) and id_periodico = and (find_in_set('imperdibles', tags)) order by fecha desc LIMIT 4 - 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 'and (find_in_set('imperdibles', tags)) order by fecha desc LIMIT 4' at line 5