Sql语句将0 1转化为男女性别 SELECT CASE user_gender WHEN ‘1’ THEN ‘男’ WHEN ‘0’ THEN '未知’ELSE ‘女’ END AS gender FROM info_user