union all union UNION 操作符用于合并两个或多个 SELECT 语句的结果集。请注意,UNION 内部的 SELECT 语句必须拥有相同数量的列。列也必须拥有相似的数据类型。同时,每条 SELECT 语句中的列的顺序必须相同。 CREATE TABLE Employees_Chi ...
                            
                            
                                分类:
其他好文   时间:
2017-02-07 22:45:54   
                                阅读次数:
244
                             
                    
                        
                            
                            
                                    --导出表exp userid=hr/oracle123 tables=employees direct=y file=/u01/employees.dmp log=/u01/employees.log --导入表 (表存在时要加ignore参数)imp userid=hr/oracle123 ta ...
                            
                            
                                分类:
数据库   时间:
2017-02-04 12:31:42   
                                阅读次数:
186
                             
                    
                        
                            
                            
                                    --创建同义词create public synonym employees for hr.employees; --公共同义词需要 create public synonym 权限表的所有用户授予公共权限 grant select on employees to public;create syn ...
                            
                            
                                分类:
数据库   时间:
2017-02-04 12:30:34   
                                阅读次数:
236
                             
                    
                        
                            
                            
                                    Unit05: 视图、序列、索引 、 约束 ...
                            
                            
                                分类:
编程语言   时间:
2017-01-20 23:23:27   
                                阅读次数:
314
                             
                    
                        
                            
                            
                                    The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id. Given the Em ...
                            
                            
                                分类:
其他好文   时间:
2017-01-16 13:08:18   
                                阅读次数:
163
                             
                    
                        
                            
                            
                                    Json基础 一、Json的概念 Json(Javascript Object Notation)全称为JavaScript对象表示法,是一种轻量级的数据交换格式,采用完全独立于语言的文本格式。JSON 是存储和交换文本信息的语法,类似 XML。JSON 比 XML 更小、更快,更易解析。 1、Js ...
                            
                            
                                分类:
编程语言   时间:
2017-01-11 15:46:19   
                                阅读次数:
870
                             
                    
                        
                            
                            
                                安装一个数据库示例——employees,使用工具为Navicat——(ctrl + q: 打开新查询窗口 ctrl + r: 运行当前窗口内的所有语句) 参考http://www.cnblogs.com/chenyucong/p/5734800.html 该数据库中有6张关联,记录的数据为某一公司 ...
                            
                            
                                分类:
数据库   时间:
2017-01-06 01:22:06   
                                阅读次数:
511
                             
                    
                        
                            
                            
                                1 -- Created on 2017/1/5 by ADMINISTRATOR 2 DECLARE 3 -- Local variables here 4 i INTEGER := 12; 5 v_name VARCHAR(15) := '张晓风'; 6 v_age NUMBER(3) := 2... ...
                            
                            
                                分类:
其他好文   时间:
2017-01-05 17:53:42   
                                阅读次数:
302
                             
                    
                        
                            
                            
                                    转自博客http://www.amogoo.com/article/4 前提1,为了与时俱进,文中数据库环境为MySQL5.6版本2,为了通用,更为了避免造数据的痛苦,文中所涉及表、数据,均来自于MySQL官网提供的示例库employees,可通过 https://launchpad.net/tes ...
                            
                            
                                分类:
数据库   时间:
2017-01-03 15:12:06   
                                阅读次数:
2432
                             
                    
                        
                            
                            
                                184. Department Highest Salary The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the departme ...
                            
                            
                                分类:
数据库   时间:
2016-12-25 17:50:30   
                                阅读次数:
237