转化语句:SELECT CASE `user_gender` WHEN ‘1‘ THEN ‘男‘ WHEN ‘0‘ THEN ‘未知‘ELSE ‘女‘ END AS gender FROM `info_user`
原文地址:https://www.cnblogs.com/linanana/p/11990785.html
时间: 2024-10-11 12:43:27
转化语句:SELECT CASE `user_gender` WHEN ‘1‘ THEN ‘男‘ WHEN ‘0‘ THEN ‘未知‘ELSE ‘女‘ END AS gender FROM `info_user`
原文地址:https://www.cnblogs.com/linanana/p/11990785.html