I have a table in mysql with just one column (no primary key), say column is like this->
Column Name
----------------
Data1
Data2
Data4
What i want to do is change "Data4" to "Data3" using java connectivity. But to change cell values, i know that command->
Alter Table <tablename> set <columnname>="something" where <someothercolumnname>="somethingelse";
but this needs atleast 2 column in table, i get the syntax error when there is just one column. So can anyone help me with correct command?