Lpearls.com is an online wholesale pearl jewelry store mainly offering pearl jewelry such as pearl beads, pearl strands, pearl necklaces, pearl bracelets, pearl rings, pearl earrings, pearl pendants, and sterling silver jewelry from the wholesale pearl jewelry center. Besides wholesale pearl jewelry, you can also find shell jewelry, shell pearl jewelry, coral & turquoise jewelry and gemstone jewelry in our pearl jewelry wholesale store. If you can't find the style you want, please feel free to contact us. We'll do our best to service you.
1104 - The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay
select p.products_id, p.products_image from orders_products opa, orders_products opb, orders o, products p where opa.products_id = '7345' and opa.orders_id = opb.orders_id and opb.products_id != '7345' and opb.products_id = p.products_id and opb.orders_id = o.orders_id and p.products_status = '1' group by p.products_id order by o.date_purchased desc limit 9