111,119
社区成员
发帖
与我相关
我的任务
分享
select ISNULL(MAX(name),'无符合') from t where name= 'xiaoming'
if(exists(select 1 from t where name= 'xiaoming' ))
select Name from t where name= 'xiaoming'
else
select '无符合' As Name
if(exists(select 1 from t where name= 'xiaoming' ))
select * from t where name= 'xiaoming'
else
select '无符合'