码迷,mamicode.com
首页 >  
搜索关键字:employees    ( 523个结果
010_递归
010_递归-- create Employees table and insert valuesIF OBJECT_ID('Employees') IS NOT NULLDROP TABLE EmployeesGOCREATE TABLE Employees(empid INT NOT NULL,...
分类:其他好文   时间:2015-02-10 23:00:24    阅读次数:129
常用数据操纵语言
DISTINCT:指定结果集中返回指定列存在不重复数据的记录SELECTDISTINCTEMAILFROMHR.EMPLOYEES;ROWNUM:使用ROWNUM列来查询结果集中前N个记录SELECT*FROMHR.EMPLOYEESWHEREROWNUM<=3;显示列别名:SELECTEMP_NAMEAS姓名FROMHR.EMPLOYEES;设置查询条件:SELECTSALARYFROMHR.EMPL..
分类:编程语言   时间:2015-02-08 23:25:25    阅读次数:366
SQL基础学习笔记(四)—视图
视图 (view): 视图的作用就是当一个表中的数据并不想对成员全部开放,只针对不同权限的用户开放不同的数据部分,同子图一样,但是子图的修改,父图并 不受影响,而视图,解决了这一问题 依赖于某表创建一个视图 create view empview as select employee_id id, last_name name, salary sal from employees whe...
分类:数据库   时间:2015-02-05 20:32:10    阅读次数:186
delphi 操作注册表
usesRegistry;procedureTfrmLogin.FormShow(Sender:TObject);varreg:TRegistry;beginReg:=TRegistry.Create;Reg.RootKey:=HKEY_CURRENT_USER;Reg.OpenKey(‘\SOFTWARE\Employees\‘,true);ifnotreg.ValueExists(‘User‘)thenReg.WriteString(‘User‘,‘UserID‘)elseedtuser.Text:=Re..
分类:Windows程序   时间:2015-02-05 15:07:47    阅读次数:168
SQL基础学习笔记(二)
向表中插入一条数据 create table emp1 as select employee_id , last_name , hire_date , salary from employees where 1 = 2 需要注意的是,插入的数据,必须和表中数据种类,一一对应 insert into emp1 values(1001,'abc',to_date('1998-12-11',...
分类:数据库   时间:2015-02-03 19:30:58    阅读次数:233
SQL基础学习笔记(一)
SQL语言分为三种: DML: Data Manipulation Language 数据操纵语言 DDL:  Data Definition Language 数据定义语言 DCL:  Data Control Language 数据控制语言 select * (表示查询表中所有的列 ) from employees; select employee_id , last_name...
分类:数据库   时间:2015-02-03 19:30:34    阅读次数:217
【leetcode SQL】Employees Earning More Than Their Managers
The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id. +----+-------+--------+-----------+ | Id | Name | Salary |...
分类:数据库   时间:2015-02-01 21:55:11    阅读次数:418
Make the Most (Hackerrank Codeagon)
题目链接Problem StatementCodenationis sendingNof its employees to a High Profile Business Conference and the goal is to cover maximum number of presentati...
分类:其他好文   时间:2015-01-25 16:35:51    阅读次数:202
PAT A1042. Shuffling Machine (20)
Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "inside jobs" where employees collaborate with gambler...
分类:系统相关   时间:2015-01-25 11:13:05    阅读次数:228
JSON
1.字符串转换成json对象var txt = '{"employees":[' +'{"firstName":"Bill","lastName":"Gates" },' +'{"firstName":"George","lastName":"Bush" },' +'{"firstName":"Th...
分类:Web程序   时间:2015-01-22 21:43:48    阅读次数:142
523条   上一页 1 ... 45 46 47 48 49 ... 53 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!