Oracle数据库判断SQL语句分享
程序员文章站
2022-03-08 23:02:40
select case
when u.gender = '1' then '男'
when u.gender = '2' then '女&ls...
select case
when u.gender = '1' then '男'
when u.gender = '2' then '女‘ end from userinfo u