摘要:
是基于PL/SQL 可视化工具的实现; 首先,先编写一个存储过程 点击procedure,右键新建,填写一个你编写的存储过程的名字; 如果是对正常的表进行操作,那么直接在begin和end之间写sql脚本就可以了; 但是我写的是临时表,在Oracle存储过程中,是不允许使用DDL语句的,比如crea 阅读全文
posted @ 2017-11-03 16:37
大战风车的男人
阅读(9317)
评论(0)
推荐(0)
摘要:
假设表A有三个字段 { id int; subject varchar(20); socre int; } 语句为 select * from A x where (select count(*) from A where subject=x.subject and score>=x.score ) 阅读全文
posted @ 2017-11-03 11:43
大战风车的男人
阅读(313)
评论(0)
推荐(0)

浙公网安备 33010602011771号