MySQL Query : select distinct n.id_news,n.name_url,n.title,n.subtitle,n.color,n.strong,n.meta_url,n.description,n.meta_title,n.views,n.date_add from travel_news n,travel_news_category nc0,travel_news_category nc1,travel_news_category nc2,travel_news_category nc3 where n.active=1 and n.id_parent=0 and n.id_news=nc0.id_news and nc0.id_category=1901 and n.id_news=nc1.id_news and nc1.id_category=1868 and n.id_news=nc2.id_news and nc2.id_category=1911 and n.id_news=nc3.id_news and nc3.id_category= order by n.position,n.date_upd desc,nc0.position,nc1.position,nc2.position,nc3.position limit 0,1;
MySQL Error : 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 'order by n.position,n.date_upd desc,nc0.position,nc1.position,nc2.position,nc3.p' at line 7
MySQL Errno : 1064
Message : 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 'order by n.position,n.date_upd desc,nc0.position,nc1.position,nc2.position,nc3.p' at line 7
Need Help?