SELECT [Fgoodsid]
,[Fgoodsname]
,[Fcinema]
,[Fprice]
FROM [tenpaytest].[dbo].[goodsinfo]
where Fgoodsname like '%,2,%' or Fgoodsname like '2,%' or Fgoodsname like '%,2'
转载于:https://www.cnblogs.com/yhdkzy/p/3680918.html
SELECT [Fgoodsid]
,[Fgoodsname]
,[Fcinema]
,[Fprice]
FROM [tenpaytest].[dbo].[goodsinfo]
where Fgoodsname like '%,2,%' or Fgoodsname like '2,%' or Fgoodsname like '%,2'
转载于:https://www.cnblogs.com/yhdkzy/p/3680918.html