title: java delete column from primary key that start with?
body: <p>ok iam having a problem i need to delete all columns that start with ? on primery key ex.?5 ,?4 i amm running this throw a java app i have build so i need the java query that search my database ektupotiko and then delete all columns that start  with  ? on primary key </p>
  
  <p>here is my try but it doesnt work any idea how i can make it work ?</p>
  
  <pre><code> public void mix(){
  String queryy ="DELETE  FROM ektupotiko WHERE Αριθμος_ΔΔΥ = ?% ");
        executeSQLQueryy(queryy,"updated");
  }
  
       public void  executeSQLQueryy (String queryy,String message) {
              Connection con =getConnection();
              Statement st;
              try{
                  st =con.createStatement();
                  if((st.executeUpdate(queryy))==1)
                  {
                     con.commit(); 
  
                    // DefaultTableModel model=(DefaultTableModel)jTable_ProSales.getModel();
                     // model.setRowCount(0);
                     //show_Basket_in_Jtable();
                      JOptionPane.showMessageDialog(null,"Data "+message+" Succefully");
                  }else{
                      JOptionPane.showMessageDialog(null,"Data "+message+ " Succefully");
                  }
  
                      }catch (Exception ex){
                          ex.printStackTrace();
                      }}
  </code></pre>