Created
October 4, 2024 08:33
-
-
Save unlocomqx/06e1bf99d55a2c5b7792e0d543034219 to your computer and use it in GitHub Desktop.
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 od.* FROM ps_order_detail od | |
LEFT JOIN ps_dynamicproduct_input di ON di.id_customization = od.id_customization | |
LEFT JOIN ps_dynamicproduct_input_field dif ON dif.id_input = di.id_input AND dif.type = 8 #dropdown type | |
LEFT JOIN ps_dynamicproduct_dropdown_option ddo ON ddo.id_field = dif.id_field AND ddo.sku = '10x10' | |
LEFT JOIN ps_orders o ON o.id_order = od.id_order | |
WHERE o.date_add BETWEEN '2024-04-24 14:04:49' AND '2024-04-25 14:04:49' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment