如果筛选数据库中不重复的记录 select bb,aa,cc from testwhere rowid( select distinct bb from test)或者你以主关键字来链接 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 错了,少了个inselect bb,aa,cc from testwhere KeyID in ( select distinct KeyID from test)KeyID 是你定义的主关键字 你的语句可以的。只是你写错了。select distinct bb,aa,cc from test select * from test where rowid in(select max(rowid) rid from test group by bb); 谁说的啊,楼主,bzszp(www.bzszp.533.net) 说的完全正确,你应该试试嘛。如果正确,别忘记给我加分哦! oracle数字类型自动补零的问题 请问 如何用SP/SQL 写杨辉三角谢谢 Oracle字符串转换成时间为什么0时就是0:00:00的字符串转不成时间格式? oracle 日期时间查询 -- 效率问题 问个比较菜的sql语句 oracle dataguard 主服务器 UNRESOLVABLE GAP 异常 数据挖掘 属性组合 的sql语句 急!!!!! 高分!!! 一个简单问题? 求一个高效率的小算法! 能不能买到完全盗版的oracle,而不是开发版的 PB前端程序,ORACLE后端,如何在安装过程中加载ORACLE客户端?谢谢指教! 求一存储过程的写法
select bb,aa,cc
from test
where KeyID in ( select distinct KeyID from test)KeyID 是你定义的主关键字
select distinct bb,aa,cc from test
select max(rowid) rid from test group by bb);