SELECT DISTINCT t1.`店铺链接`, t1.`店铺名称`, t1.`平台`
FROM sales AS t1 INNER JOIN shopinfo AS t2 ON t1.`店铺链接` = t2.`店铺链接`
WHERE t2.`省` = "河南";
没问题
下边的会报错,sales.`店铺链接` is not in list 之类的错误
SELECT DISTINCT sales.`店铺链接`, sales.`店铺名称`, sales.`平台`
FROM sales AS t1 INNER JOIN shopinfo AS t2 ON t1.`店铺链接` = t2.`店铺链接`
WHERE t2.`省` = "河南";