这个是什么东东? ip log20031是一个字段吗?那就应该写成 select distinct [ip log20031],log20032,log20033,log20034,log20035, log20036,log20037 where campus='4' and agent='%Window NT%'
select distinct ip log20031,log20032,log20033,log20034,log20035, log20036,log20037 where campus='4' and agent='%Window NT%' 1:好象没有指出查哪些字段 2:好象也看不出从哪些表里查 3:多表中有同一字段名时必须指出是哪一个表的字段
select distinct [ip log20031],log20032,log20033,log20034,log20035,
log20036,log20037 where campus='4' and agent='%Window NT%'
log20036,log20037 where campus='4' and agent='%Window NT%' 1:好象没有指出查哪些字段
2:好象也看不出从哪些表里查
3:多表中有同一字段名时必须指出是哪一个表的字段