bigsearch: select *, round(score/votes) as rating from listings where idx > 0 order by limit , 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 'limit ,' at line 1 - Tue Mar 9 22:07:48 2010