求个快法~~~ 字段吧 14个数据吧 10来万条某字段吧 名叫URL目的吧 取不重复的URL信息这URL吧 加了索引SQL吧 这样滴 select * from table group by URL完了吧 老半天没反映有快法不~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a.* from table ainner join(select url from table group by URL having count(*)=1) bon a.url=b.url select distinct URL from table 若表中还存在一个唯一的字段ID,还可以这样select * from [table] twhere not exists(select * from [table] where URL=t.URL and id<t.id) select distinct URL from table 试试这个。 一次请求 sql语句确执行两次 java.net.ConnectException: Connection refused: connect 链接被拒 JDBC连接数据库(新手问题) 商品与商品类别设计 对当前在线系统的重要事件进行事件登记 请教这样的mysql语句怎么写? JAVA程序插入时乱码..如何设置在建表的时候就制定表的编码为GB2312.... 在Delphi中使用Mysql4,提示出错。有谁能帮一下我 请教关于MYSQL启动的问题 MYSQL 筛选想要的信息 MySQL 删除在插入数据问题 能不能查到是那个用户建的表
inner join
(select url from table group by URL having count(*)=1) b
on a.url=b.url
select * from [table] t
where not exists(select * from [table] where URL=t.URL and id<t.id)
试试这个。