Employee Bonus

找獎金低於1000的員工姓名和獎金金額,有回傳null

 

=======雷=======

=======雷=======

=======雷=======

=======雷=======

=======雷=======

=======雷=======

=======雷=======

=======雷=======

=======雷=======

select [name],bonus
from Employee left join Bonus on
Employee.empId = Bonus.empId
where bonus < 1000 or bonus is NULL

 

創作者介紹
創作者 2026年羽水記事本 的頭像
羽水

2026年羽水記事本

羽水 發表在 痞客邦 留言(0) 人氣( 1 )