SQL1You 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 kubun = 1 AND classify = 1 AND (status != 2 AND status != 4 AND status != 7)' at line 1