sql语句,如果符合搜索条件,显示 是,不符合条件显示否?怎么写

2025-03-23 01:34:44
推荐回答(1个)
回答1:

select (case when a.id=b.id and a,va<>'1' then '是' else '否' end) sf from a,b