Created
January 18, 2018 06:06
-
-
Save trabulium/ec71186aa9d1d722b5fccbbba0801a61 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 | |
sales_flat_order_grid as sfog | |
inner join ( | |
select entity_id, status | |
from sales_flat_order as sfotmp | |
) as sfo on sfo.entity_id = sfog.entity_id | |
set sfog.status = sfo.status | |
#where sfog.entity_id in (111194) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment