mysql - Merge single column of one table into another based on ID -
I do not want to be temporarily involved, I really want to make a column equivalent to my counterpart with the equivalent of ID Based on sharing this will be something like this:
Update parts. Partembar SET parts2.PartNumber = parts.PartNumber where parts2.id = parts.id; Thank you in advance, sorry that this is a repetitive question, but I can not get much answers to my surprise. The above code is a syntax error of the code unknown column in section2.id, WHERE section , even if that column is definitely present.
I believe the following will give you the desired results. But it is based on one join:
Update parts, part SET parts 2 Partnumber = Parts. Partnumber where parts2.id = parts.id; This will do what you want and this is the most effective way. I do not have any kind of information in trying to avoid JOIN from
Comments
Post a Comment