SELECT COUNT(*) FROM boatpublic b1,boatmain bm, users u1 WHERE b1.idBoat in () AND (b1.bitShare&1 AND b1.idBoat=bm.idBoat AND b1.idUSer=u1.idUSer) GROUP BY b1.idBoat
Total rows:

Class: DBMS
Application File: /topOffers.jsp
Action:
Main Error Number: 1064
Secondary Error Number: 0
Main Error Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.5-10.8.3-MariaDB-log]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 ') AND (b1.bitShare&1 AND b1.idBoat=bm.idBoat AND b1.idUSer=u
Secondary Error Message: 42000

Class: Internal
Application File: /topOffers.jsp
Action:
Main Error Number: -101
Secondary Error Number: 0
Main Error Message: General error during data source operation.
Secondary Error Message:

Class: Internal
Application File: /topOffers.jsp
Action:
Main Error Number: -101
Secondary Error Number: 0
Main Error Message: General error during data source operation.
Secondary Error Message: