If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I wont to delete all rows in customer_products that are for customers who are in the customers_archive table but i can't seem to see what i'm doing wrong.
delete from customer_products cp
where cp.customer_id in
(select c.customer_id from customer_archive c)
this gives me an error
although this
select * from customer_products cp
where cp.customer_id in
(select c.customer_id from customer_archive c)