Hello,
I am trying to figure out how to do this, and I cannot get the syntax down. I have a shopping cart, and I want to show other products other customers have purchased. All items that have been purchased are in a table called carts.
The carts field has part number and order number. So given one part number, I want to find all other parts that were purchased from the same order number.
So the fields are carts.pnum and carts.onum.
Any clever ways to do this?
using:
mysql Ver 12.22 Distrib 4.0.16