MySQL Forums
Forum List  »  Newbie

Re: CREATE TABLE does not get updated
Posted by: Barry Galbraith
Date: February 06, 2023 06:41PM

You'll need to DROP table birthday_1 before you can create it (again) with different columns.
You'll find that the second CREATE TABLe ... is failing, and then the error code 1136 you get is beacuse you are trying to add 4 values to 3 columns (Column count doesnt match value count at row 1)

Or, add the new column with ALTER TABLE ...

Good luck,

Options: ReplyQuote

Written By
February 06, 2023 12:55PM
Re: CREATE TABLE does not get updated
February 06, 2023 06:41PM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.