我在想如果product_id在其他表中没有分配任何category_id,我是否可以将产品状态更改为0。MYSQL更新加入为空
+------------+----------+ +------------+-------------+
| Product_id | Status | | Product_id | cateogry_id |
+------------+----------+ +------------+-------------+
| 1 | 1 | | 1 | 10 |
| 2 | 1 | | 3 | 20 |
| 3 | 1 | +------------+-------------+
+------------+----------+
在结果我需要的product_id = 2不具有类别的状态是0 有一个MySQL查询是什么?