不好意思,我没看懂你的意思。 我现在是 select * where 某字段 <> '0000 0100' from table 请问要如何写呢? 给出数句和你要的结果 不大懂你的意思 varchar(1)怎么可以装8位呢 要是数据只有一个字符串 直接 select * from tb where col = '1'
SQL code:
select * from table A where 某字段 not in( '0000 0100','0000 0
select o_customer,o_price from orders having o_price >=avg(o_price) select o_customer,o_price from orders where o_price >=(select avg(o_price) from orders) 我感觉没有区别啊,怎么在mysql会有 ......