where clause not working with AND, JDBC/JAVA/SQL 1 min read more where clause not working with AND, JDBC/JAVA/SQL admin 3 years ago The code below works fine when i remove this part (+"AND ref = '"+Mref.getText()+"'");) but doesn’t work with it: pst1= con.prepareStatement(" SELECT price from article where... Read More