This SQL Error Info!

Present time:

2016-07-24 07:05 AM

Http Host:

Server Name:

Server Software:

Apache/2.2.22 (Ubuntu)

Host IP Address:

Remote User Agent:

CCBot/2.0 (;

The Error number:


The specific Error was:

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 'and isstop='Y' ORDER BY RAND() LIMIT 2' at line 1

SQL Query :

SELECT id,name,productno FROM it_tickets WHERE aid= and isstop='Y' ORDER BY RAND() LIMIT 2