close

當有欄位是NULL的時候

可以用 ISNULL(`fieldname`) 或 filedname IS NULL

ex :

select * from test where ISNULL(`Name`)

or

select * from test where Name IS NULL


全站熱搜
創作者介紹
創作者 coolkevin 的頭像
coolkevin

about my life

coolkevin 發表在 痞客邦 留言(0) 人氣()