Access中用 select IIF([字段]=0,'男',IIF([字段]=1,'女')) as 别名 from table,而且我们可以加入更丰富的处理,
SqlServer中用 select case when 字段=0 then '男' else '女' end as 别名 from table
Oracle中和SqlServer语法类似 select case when 字段=0 then '男' else '女' end as 别名 from table,多个情况可以用多个when then语句处理