此查询有效:
SELECT stock_number
FROM t2d_vehicles
WHERE stock_number = '02929A'
AND dealer_id = 130128
这个没有:
SELECT stock_number
FROM t2d_vehicles
WHERE stock_number = '02929A'
AND dealer_id = 130128
AND feed_id != 9
我不能在 WHERE 中将 != 与 = 结合起来吗?
这是表的一个简单的一点点:
"stock_number","dealer_id","feed_id"
"02929A",130128,9
"02929A",130128,10