Hi! I have the following query,
ALTER TABLE
fishing_player_data
ADD
COLUMN ? INT NOT NULL DEFAULT 0;
I then do statement.setString(1, "goldfish_fishes_caught")
I print it before doing statement.executeUpdate:
ALTER TABLE
fishing_player_data
ADD
COLUMN 'goldfish_fishes_caught' INT NOT NULL DEFAULT 0;
However, I'm getting this error:
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''goldfish_fishes_caught' INT NOT NULL DEFAULT 0' at line 4"
Any help would be appreciated