SELECT IF(sex=1,'man','woman') as sex FROM user
Mysql使用if对查询进行筛选
最新推荐文章于 2024-02-02 18:57:34 发布
SELECT IF(sex=1,'man','woman') as sex FROM user