1,
select id,a.name,a.address,b.score from STUDENT a,SCORE b where a.id=b.id and rownum>=3 order by b.score desc
select id,a.name,a.address,b.score from STUDENT a,SCORE b where a.id=b.id and rownum>=3 order by b.score desc
解决方案 »
- select sysdate from dual;
- oracle数据库连不上,报错输入口令: ERROR: ORA-01033: ORACLE initialization or shutdown in prog
- 求助Oracle的几个SQL语句
- 日期小写转大写的函数
- ORACLE 批量处理的问题
- 困惑本人好久的高难度问题!!!在不安装任何oracle驱动的客户端程序里插入一行记录后马上返回ROWID的问题
- SQL*Plus怎么调用自己写的一个存储过程?
- 登录问题
- 关于red hat下oracle9I的rman备份
- oracle的DBA STUDIO里用错误的用户名和密码选SYSDBA也可以进入!是为啥子呢?
- 触发器~~如何得到DML语句影响行数``````
- 请教大侠,我的PLSQLDevloper 打开不用,过了没多久,再点击就死掉,然后弹出 【通信管道文件已结束的提示】框。请问什么原因谢谢
写个存储过程执行两个修改sql语句update student set NAME='fixed'+NAME where ID in(select ID from SCORE where SCORE <75);
update SCORE set SCORE = 75+1 where SCORE <75;简单吧
select s.id,nls_initcap(s.name), sco.score from student s,score sco where sco.score>75 and s.id=sco.id;顺便说一下 大小写的函数
nls_upper('转换成大写') nls_lower('转换成小写') nls_initcap('首字母大写其他的都小写')