Error while selecting 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 `data` DESC LIMIT 100) c, mfo d WHERE c.mfo_regnum=d.mfo_regnum GROU' at line 1