update women_cb m,wptag w set m.status=2 where w.status=1 and find_in_set(w.id_product,m.ids)
select w.id_product,m.ids from women_cb m,wptag w where w.status=1 and find_in_set(w.id_product,m.ids)
不懂你想做什么,你想更新还是查询?还是想用unionall
是要干嘛? 是想 update ,和 select 都引用同一个查询结果的条件。还是要 update 满足条件的结果?