Posted By

erraja_07 on 06/07/11


Tagged

mysql query


Versions (?)

MYSQL Table Migrations


 / Published in: MySQL
 

  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  

You need to login to post a comment.