You don't need to use setInt and setString since you have no parameters to pass with.


String sql1 = "select tutor_id, subject_name from tutor_subject where subject_name in ("
+...