我问的这个问题重点不在于'phone'是什么数据类型.
我写的查询语句是类似于这样的
select a.ID,a.name,phone=(select top 1 phone from b where ...)  from a inner join  c on  a.ID = c.ID where c.Flag='0' 
'phone'是从b表中查询的字段.我只是想从类似下列的记录集中剔除一些记录
例如:
ID   name    phone
1   hh     1234
......
32      kk          NULL
剔除 phone is null 的记录.
我的问题你明白了吗?