Update table a set address=(select names from the administrative region where b. b code=a. area code) How to update when single subquery return multiple line error, should be how to write, to ask
CodePudding user response:
This has nothing to do with SQL, and you have a business relationship, because a table of more than one area code to match the line b table records, you have to know our business which is what you need, such as the point of violence may be any one, so just limit returns one row,