# ResultSet rs = stmt.executeQuery("SELECT * FROM your_table where example = ?" ); like a prepared statement