MySQLSyntaxErrorException: WHERE Clause : <p>I'm trying to retrieve data from my database. However, it gives me an error of:</p>

<pre><code>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 'WHERE FORMID = 120002013 AND CLASSIFICATION = 'Private'' at line 1
</code></pre>

<p>Below is my code for retrieving data: </p>

<pre><code>try (Connection conn = myFactory.getConnection()) {
    PreparedStatement pstmt = conn.prepareStatement("SELECT CENSUSYEAR, SCHOOLID, CLASSIFICATION, SCHOOLNAME" +
    "FROM DIRECTORY_SCHOOL WHERE FORMID = ? AND CLASSIFICATION = ?");
    pstmt.setInt(1, formID);
    pstmt.setString(2, classification);
    ResultSet rs = pstmt.executeQuery();
</code></pre>

<p>What seems to be the problem? Thanks!</p>
