从数据库读数据列表,我需要将相同的只列一条该怎么写,谢谢!表中有很多数据,比方说字段tel,里面可能有相同的,我需要遇到相同的就只列一条其他不显示该怎么写?[解决办法]select distinct tel form 表[解决办法]select * from tablename as a where not exists(select 字段1 from tablename where 字段1 = a.字段1 and id < a.id)