SQL Server 字段状态判断语句

selct newName=case when  条件 then '否' else '是' end from tableName

原文地址:https://www.cnblogs.com/101key/p/3297005.html