/ Published in: MySQL
Expand |
Embed | Plain Text
INSERT INTO table_cities (`city`, `state`) SELECT C.cityname, S.statename FROM `table_city` C LEFT JOIN `table_state` S ON C.stateid = S.stateid WHERE C.`countryid` =254
You need to login to post a comment.
