Case usage

xiaoxiao2021-03-06  86

~~ A field in the database is stored in BOOL, how to display Chinese characters when displayed ~~

SELECT SEX = Case Sex when 1 Then male

When 0 Then female

end

From table1

转载请注明原文地址:https://www.9cbs.com/read-106406.html

New Post(0)