It would have saved you a lot of trouble by using prepared statement, e.g
String sql = " insert into assign_table values (?, ?, ?)";
PreparedStatement preparedStmt = conn.prepareStatement(sql);
preparedStmt.setString (1, null);
preparedStmt.setString (2, question);
preparedStmt.setString (3, node);
Read more
A Java MySQL INSERT example (using PreparedStatement)[
^]
I just noticed that your second parameter
'What 's the first day of the week ?'
contains a single quote, it has to be escaped, like this
'What \'s the first day of the week ?'
Read more:
http://dev.mysql.com/doc/refman/4.1/en/string-literals.html[
^]