-
-
Save montogeek/8591679 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE personas | |
SET | |
updated_at = ( | |
SELECT personas_23_dic.updated_at | |
FROM personas_23_dic | |
WHERE DATE(personas.updated_at) = '2013-12-24' and personas.id = personas_23_dic.id | |
) | |
WHERE EXISTS ( | |
SELECT * | |
FROM personas_23_dic.id = personas.id | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment