PreparedStatement sql1 = connection.prepareStatement("UPDATE `bantable` " +
"SET reason=?, admin=?, started=?, time=?, ends=?, banned=?, datetimes=? " +
"WHERE DATE_SUB(`datetimes`, NOW())<=0 AND player=?;");
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'NOW())<=0 AND player='Juustoast''
at line 1
Why does it print that error?