标签:bsp span key The cas 页面 gen nbsp 语句
转化语句:SELECT CASE `user_gender` WHEN ‘1‘ THEN ‘男‘ WHEN ‘0‘ THEN ‘未知‘ELSE ‘女‘ END AS gender FROM `info_user`
sql为什么用0,1表示男女?在sql语句里转好还是在页面转好?
标签:bsp span key The cas 页面 gen nbsp 语句
原文地址:https://www.cnblogs.com/linanana/p/11990785.html