Can someone please tell me what's wrong with this instruction:
...And this one:
Code:
String sql = "SELECT * FROM tblStudent WHERE Student Name = Samuel";
Code:
String input = JOptionPane.showInputDialog("Who do you want to delete:"); String sql = "DELETE * FROM tblStudent WHERE Student Name = " + input;
Comment