求一个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; 透明网关的奇怪问题 能否给出两个SQL的例子? 高分求高人一个月之内按天按部门统计工作量报表的SQL 求助:oracle 编译存储过程时进程死了 v$session 表的问题 Data Guard remote process startup failed 音乐文件,存放在数据库里面,用blob字段,还是放在某文件夹,在数据库里面放地址,请赐教! 如何,从DMP全导出文件中恢复数据. dbms??输出 如何修改oracle用户名 用户名 急!在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;