I have four columns in a table. I am using sqlite database and I want to delete data of three columns and keep the data of other one column.
String sql="DELETE january,deducted,remaining FROM sailary where id=?";
try
{
pst = conn.prepareStatement (sql);
pst.setString (1, jut.getText());
pst.execute();
}
catch(Exception e)
{
JOptionPane.showMessageDialog(null, e);
}