摘要:
1. 格式 public class 文本名字(首字母大小写相同) { public station void main (String[] args) { int b = 20; --变量的申明和初始化(赋值) System.out.println("Helllo world"); --系统输出打 阅读全文
摘要:
1. 过滤: 也就是给查询以 where 条件 滤去不需要部分 select * from emp where deptno = 10; where后面可以是多个字段取交集 但是只能是单行函数。 2. and , or , in , not in , between and , < , > --wh 阅读全文
摘要:
1.进程是相当于一个后台运行,赋予一个值,他能给出相关的结果。 --创建一个过程 "给你一个员工号 你给我返回他的年薪" create or replace procedure nianxin(eno in number, psal out number) --'nianxin'是进程的名字 eno 阅读全文
摘要:
用PL/SQL语言编写一个程序,实现按部门分段(6000以上,3000-6000,3000以下)统计各工资段的职工人数 和工资总额(scott--emp) declare cursor cdeptno is select deptno from dept; cd dept.deptno%type; 阅读全文
摘要:
Oracle的初步了解: select * from emp where empno = 10; select empno,feptno from emp order byempno desc,deptno asc; select sal 调前,case job when 'PRESIDENT' t 阅读全文