A Database Error Occurred
Error Number: 1064
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 timestamp desc' at line 8
select * from news_versioni as t1 join news on t1.id_news=news.id where pubblicato=1 and societa="SG" and id_lingua = coalesce( (select id_lingua from news_versioni where pubblicato=1 and id_news=t1.id_news and id_lingua=2 limit 1), (select id_lingua from news_versioni where pubblicato=1 and id_news=t1.id_news and id_lingua=2 limit 1) ) and news.id= order by timestamp desc