SELECT I.img_id, I.small_url, I.date_add, I.Title_en/ AS Title, I.Descript_en/ AS Descript, I.Sale, I.istok_id, I.URL
, IST.name_en/ AS Istok, IST.url AS IstokURL
FROM `img_uploads` AS I
INNER JOIN `img_all` AS IA USING(img_id)
INNER JOIN `istochnik` AS IST ON(IST.istok_id = I.istok_id)
WHERE IA.id_xxx = '3987' AND IA.descipt = 1
ORDER BY I.date_add DESC, I.img_id DESC
LIMIT 0, 10
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 'AS Title, I.Descript_en/ AS Descript, I.Sale, I.istok_id, I.URL
, IST.name_' at line 1; KOD: 1064