MySQL Forums
Forum List  »  PHP

Re: Column count doesn't match value count at row 1 after adding new rows
Posted by: Jonathan Stephens
Date: November 10, 2015 01:13AM

I believe your problem is that the list following INTO tablename should be a list of columns in the *target* table, not the source table.

See the syntax for INSERT ... SELECT.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

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.