摘要: --使用列位置排序select deptno,dname from dept union select empno ,ename from emp order by 1 desc; 阅读全文
posted @ 2016-03-23 20:51 道心不可练 阅读(227) 评论(0) 推荐(0) 编辑
摘要: create or replace procedure add_em (eno number,name varchar2,sal number, job varchar2 default 'CLERK',dno number) is e_integrity exception; pragma exception_init(e_integrity,-2291); begin insert into... 阅读全文
posted @ 2016-03-23 20:25 道心不可练 阅读(253) 评论(0) 推荐(0) 编辑