Jan
4
2010

Mysql Select Data From One Table Update To Other

++++++++++++++
+ Website_cv
++++++++++++++
+ cv_id
+ status
++++++++++++++

+++++++++++++++
+ Website_apply_job
+++++++++++++++
+ cv_id
+ status
+++++++++++++++
=> copy Status From website_cv to website_apply_job

UPDATE website_apply_job
JOIN website_cv
ON website_cv.cv_id = website_apply_job.cv_id
SET website_apply_job.STATUS = website_cv.STATUS;

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Twitter

Related Posts

About the Author:

Leave a comment

Sponsors