一句SQL语句的写法 如图 :根据查询VehicleType='20100706154707609' 这个字段 但是我现在还想要查询出这个字段为空的数据VehicleType 这条SQL语句该怎么写 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在加个where条件where VehicleType is null select * from tabwhere VehicleType='20100706154707609'or len(VehicleType)=0 where VehicleType='20100706154707609' or VehicleType is null select * from tb where VehicleType = '20100706154707609' or VehicleType is null 忘记说了 我前面还有一个条件Brand='20100613140108531'在根据VehicleType='20100706154707609' 这个字段 但是我现在还想要查询出这个字段为空的数据VehicleType 这条SQL语句该怎么写 select * from tablename where VehicleType = '20100706154707609' or VehicleType is null select * from tb where Brand='20100613140108531' and (VehicleType = '20100706154707609' or VehicleType is null) select * from tablename where Brand='20100613140108531' and (VehicleType = '20100706154707609' or VehicleType is null) select * from tb where Brand='20100613140108531' and (VehicleType = '20100706154707609' or VehicleType is null) where VehicleType='20100706154707609' or VehicleType is null 字符比較規則,不是按ASCII比較嗎? 如何判断几个字段的组合在另一个表中是否存在呢? sql按条件分组取出最新不重复记录! 两个无关系表简单横向合并 各位大虾,在线急等啊!!!SQL Server 7.0问题!!! 100分求一个很简单的存储过程 用过 MySQL 或 DB2 或 Oracle 的进来一下,很基本的问题 查询数据库中不存在的一个编号的问题!! net8 easy config的问题 select语句 SQLserver插入问题 (急)请教一个关于用Mssql2005存储过程调用webserice的方法
where VehicleType is null
where VehicleType='20100706154707609'
or len(VehicleType)=0
select * from tablename where VehicleType = '20100706154707609' or VehicleType is null
(VehicleType = '20100706154707609' or VehicleType is null)