• 关于mysql查询语句问题
  • 其它
    1.00元

请教下各路大神,为什么用select * 没问题,使用select customer_id会报错

SELECT
*
FROM Customer,(SELECT COUNT(product_key) counts FROM Product) b
GROUP BY customer_id
HAVING COUNT(DISTINCT(product_key)) = counts


  • 西西    2020-03-02 13:48:33
  • 阅读 745    收藏 0    回答 1
  • 邀请
  • 收藏
  • 分享
发送
登录 后发表评论
  • 51testing软件测试圈微信