hello,query error invalid column name
private void search(java.awt.event.ActionEvent evt) {
try{
String tablename=jTextField1.getText().trim();
String d=jTextField4.getText().trim();
ResultSet rs=stm.executeQuery("select * from "+tablename+"where name="+d); }catch(Exception e){
JOptionPane.showMessageDialog(null,e.getMessage()) ;
}
please complete where clause
