Skip to content

Instantly share code, notes, and snippets.

@hansek hansek/gist:8594678

Created Jan 24, 2014
Embed
What would you like to do?
Presta - cross selling - orders
SELECT o.id_order
FROM ps_orders o
LEFT JOIN ps_order_detail od ON (od.id_order = o.id_order)
WHERE o.valid = 1
AND od.product_id = 991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.