select n1,n2
from table_1
where table_1 = (select max(n1) from table_1)
group by n1,n2;
from table_1
where table_1 = (select max(n1) from table_1)
group by n1,n2;
解决方案 »
- 求助,如何实现一个表里的数据按照层等级来累加呀?
- oracle to_char() 小问题
- 监听程序:所有适用例程都处于受限模式
- ORACLE 导出错误!3帖100
- 请教:Oracle OWB design browser登录主机名不对
- 菜鸟请教个各位大神!!急!!
- 关于其中Oracle数据修改的问题?急
- 如何启用/禁止并行服务器。
- 请教select into的问题。
- weblogic控制台中菜单点击没反应了,求解救。
- java中调用oracle的function出错:Error creating connection: 调用中无效的参数
- 一个oracle SQL语句问题,关于alter table
select n1,n2
from table_1
where n1 = (select max(n1) from table_1)
group by n1,n2;
select max(n1),n2 from table_1 group by n2
如果是所有的select max(n1) from table_1