select case when count(*) >0 then ‘true’ else ‘false’ end from TB_CERTIFICATE ce
where ce.TEAM_ID = 0
mySql查询有数据返回true否则返回false
最新推荐文章于 2024-07-18 02:06:23 发布
select case when count(*) >0 then ‘true’ else ‘false’ end from TB_CERTIFICATE ce
where ce.TEAM_ID = 0