select * from info where typeid= 1 and xxx is NOT null
select * from info where typeid= 1 and xxx is  null