MySQL update from one table to another with condition not working?

前端 未结 3 891
灰色年华
灰色年华 2021-01-03 03:10

I have tried a solution that seems to work for someone else on this question:

Update table a from table b where (conditions) I can not seem to get it working, MySql

3条回答
  •  长发绾君心
    2021-01-03 03:50

    Try this syntax out:

    UPDATE video_data, video 
    SET video_data.date_timestamp = video.date_timestamp
    WHERE  video_data.video_id = video.video_id
    

提交回复
热议问题