1.不为空
select * from table where id <>”
select * from table where id !=”
2.为空
select * from table where id =”
select * from table where ISNULL(id)
1.不为空
select * from table where id <>”
select * from table where id !=”
2.为空
select * from table where id =”
select * from table where ISNULL(id)