select case 
when exists(select 1 from 学生表 where 学生='甲')
and 
exists(select 1 from 教师表 where 教师='乙')
then '真'
else '假' end