The insert statement is working fine for one table but when I try to insert into two it gives an error. Could you see the code below and give me any feedback?
public void insertContact() throws SQLException {
System.out.println("Please enter your ID");
String id = input.next();
System.out.println("Please enter your phone number");
String number = input.next();
Comments
Leave a comment