给你举个例子: 有个TABLE表,里面有字段A,B,C,D4个字段名.
如果想查除B列以外的所有列的数据就是这样写:
select a,c,d from table
这就是你想要的查询语句
怎么找到那列啊?
比如说id=100,或者name='hehe'。
select * from mytable where id<>100
select * from mytable where name<>'hehe'
也可以在where后写个子查询
头是晕的, 是哪一列?满足条件的一列,还是不满足?
列名前 加 NO 看看