sql对于IsDelete的 0,1转换为是否(或性别转换)

SELECT CASE(字段)  WHEN 1 then '是'  ELSE  '否'  END  AS  字段  FROM  表

猜你喜欢

转载自blog.csdn.net/yatou_buku/article/details/79498830