sqlserver 表 id (bigint) upIdList(nvarchar)行: 1 2,3,4 2 2,3,2
4 回答
人到中年有点甜
TA贡献1895条经验 获得超7个赞
select id AS 编号,[dishesName] AS 菜名
from [dbo].[CB_Dishes]
where [dishesName] in (select [dishesName] from [dbo].[CB_Dishes] group by [dishesName] having count(1) >= 2)
- 4 回答
- 0 关注
- 446 浏览
添加回答
举报
0/150
提交
取消