SQL里的查询分析器中查出来的性别字段都是用1,2显示,怎么通过SQL语句转换成男、女?

2025-03-22 08:02:41
推荐回答(1个)
回答(1):

select (case 性别 when 1 then '男' else '女' end) ...