求一个sql 给定sql数据库工作区Test(num int(4))请用一个sql返回num的最大值,不允许用Max,Min 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select num from (select num from test order by num desc) where rownum=1 能不能select num from test where rownum=1 order by num desc 你的试过也可以,方法很多,如:select a.num from test a where not exists (select b.num from test b where b.num >a.num ); SELECT num FROM test t WHERE NOT EXISTS(SELECT num FROM test te WHERE te.num>t.num) AND t.num IS NOT NULL; Oracle8i到11g,字符集us7ascii到ZHS16GBK转换中文显示为?,求解 SQL优化? Group by 但卻是將相同的以逗號相隔!!! 请高手帮忙! sql查询 ODBC ORACLE SQLstate=08004异常!求助!!!! 奖励100分(ORA-12571) 我是菜鸟,问一个简单的问题,最后30分,搞定马上结帖!! Oracle9i卸载不干净,后台的OracleServiceORCL无法删除. logminer解析redo log 急!在Oracle请问怎么复制一张表,而且对原来的表能实时更新的。 如何写这个SQL语句
SELECT num FROM test t WHERE NOT EXISTS(SELECT num FROM test te WHERE te.num>t.num) AND t.num IS NOT NULL;