
数据库-Oracle
ChysonLi
Only The Strongest Survive
展开
-
Oracle
1.查询工资大于12000的员工姓名和工资select last_name, salaryfrom employeeswhere salary > 120002.查询员工号为176的员工的姓名和部门号select last_name, department_idfrom employeeswhere employee_id = 1763.选择工资不在5000到120原创 2017-01-14 18:12:08 · 655 阅读 · 0 评论 -
Oracle入门
SQL一种语言ANSI标准关键字不能缩写使用语句控制数据库中的表的定义信息和表中的数据SQL*Plus一种环境Oracle的特性之一关键字可以缩写命令不能改变数据库中的数据的值集中运行iSQL*Plus描述表结构。编辑 SQL 语句。执行 SQL语句。将 SQL 保存在文件中并将SQL语句执行结果保存在文件中。在保存的文件中执行语句。原创 2017-01-14 22:24:41 · 923 阅读 · 0 评论 -
Oracle
1.查询和Zlotkey相同部门的员工姓名和雇用日期select last_name, hire_datefrom employeeswhere department_id = ( select department_id from employees where last_name = 'Zlotkey')2.查询工资比公司平均工资高原创 2017-01-14 22:27:44 · 3410 阅读 · 0 评论