SELECT TOP 1000 [id],
      case when group_id>1 then 'vip'
           else '普通会员'
           end
  FROM [YaleBaoV2].[dbo].[ylb_users]
 
 
  SELECT TOP 1000 [id],
      case group_id when 1 then '普通会员'
          when 3 then '代理商'
          when 4 then 'VIP用户'          
           end
  FROM [YaleBaoV2].[dbo].[ylb_users]

相关文章:

  • 2021-06-27
  • 2022-12-23
  • 2021-12-15
  • 2021-12-06
  • 2021-10-16
  • 2022-01-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
  • 2022-01-09
相关资源
相似解决方案