MYSQL Table Migrations


/ Published in: MySQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. INSERT INTO table_cities (`city`, `state`)
  2. SELECT C.cityname, S.statename
  3. FROM `table_city` C
  4. LEFT JOIN `table_state` S ON C.stateid = S.stateid
  5. WHERE C.`countryid` =254

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.