今天学到的东西:假如有一张表,内部有一个字段是用‘0’和‘1’分别表示男和女,那么我们再查询的过程中可以使用select case when sex='0' then '男' when sex='1' then '女' end from 表名。