商品表原表按照商品id升序排列
select REPLACE(shop_id,null,'不确定'),
REPLACE(shop_name,null,'不确定')
FROM ShopProduct AS SP RIGHT OUTER JOIN Product AS P
ON SP.product_id = P.product_id
where shop_id IS NULL;
微信扫一扫
商品表原表按照商品id升序排列
select REPLACE(shop_id,null,'不确定'),
REPLACE(shop_name,null,'不确定')
FROM ShopProduct AS SP RIGHT OUTER JOIN Product AS P
ON SP.product_id = P.product_id
where shop_id IS NULL;
相关推荐