SQL Error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1
SELECT LvCur.ac_name , LvP1.ac_name
AS LvP1Name , LvP1.ac_id
AS LvP1ID
FROM album_cate LvCur
LEFT JOIN album_cate LvP1
ON LvP1.ac_lang
= 'en'
AND LvP1.ac_id
= LvCur.ac_pid
AND LvCur.ac_pid > 0
WHERE LvCur.ac_lang
= 'en'
AND LvCur.ac_id
= LIMIT 1