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 ("
+...
Type: Posts; User: John Joe
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 ("
+...