Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //String insert_db = "DELETE from actor WHERE actor_id = 202";
- //st.executeUpdate(insert_db);
- ResultSet rs1 = st.executeQuery("SELECT * from actor WHERE actor_id < 20");
- while(rs1.next());{
- System.out.println(rs1.getString("first_name"));
- }
- }catch(Exception e){
- //JOptionPane.showMessageDialog(null, e.getMessage());
- System.out.println(e.getMessage());
- }
Add Comment
Please, Sign In to add comment