-
-
Save feketegy/f82837c8296328baedad to your computer and use it in GitHub Desktop.
How would you rewrite this query to be MySQL 5.7 friendly? Currently fails due to new GROUP BY rules.
This file contains 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
select extf.* from ( | |
select ExternalTransactinId | |
from ebay_order_items | |
ExternalTransactionId is not null | |
group by ExternalTransactionID | |
) extf | |
extf.z_shipmentno is null | |
and extf.orderstatus = 'Completed' | |
and extf.timestamp > '2015-02-25' | |
order by extf.timestamp desc; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment