select id, nick, city, state, country, rate, title, pros,cons,comment, date_time, num_rate, num_useful from rating_cust where part='KB-C220E' and status='ok' order by num_useful desc, date_time desc limit -10 , 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 '-10 , 10' at line 1