- -!!!
查询所有信息//select *from 表
查询某字段信息//select 字段 from 表
有条件的查询//select * from 表 where 某字段='某值'一定记住要加单引号~
select * from 表名 where 字段名 = 1
-_-!
楼主难道是这个意思?
难道是
select [1] from 表名;
?
楼主的意思是不是把字段名是1的全部信息查出来?
如果是的话,就这么写:
select 1 from 表名 where 1=1;
select [1] from 表名 where 条件
select * from tablename where [1]=....