خرید بک لینک

Vote count: 0

I have 2 tables, shows and show_photo

shows structure:
enter image description here

show_photo structure:
enter image description here

What i want to do is update show_photo.modified column with show.year
This is what i tried but nothing gets updated.

UPDATE show_photo t2
JOIN shows t1 ON t1.id = t2.show_id
SET t2.modified = t1.year;

asked 44 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 9 خرداد 1395 ساعت: 19:23

صفحه بندی