SelectCONVERT(varchar(100),GETDATE(),0):0516200610:57AMSelectCONVERT(varchar(100),GETDATE(),1):05/16/06SelectCONVERT(varchar(100),GETDATE(),2):06.05.1...
分类:
其他好文 时间:
2014-06-10 20:37:32
阅读次数:
311
前段时间作项目中,遇到使用视图的问题,以前的工作中很少遇到视图,认为直接用表就ok了,何须视图呢?下面我来讲述一下它的功用:以往当我们查询数据时,一定要很认真的地从设计select语句开始,将需要查询的每个字段写在sql语句里,
前段时间作项目中,遇到使用视图的问题,以前的工作中很少遇到视图,认为直...
分类:
数据库 时间:
2014-06-10 20:30:31
阅读次数:
361
--采购订单执行情况查询(七天内接收情况)select pha.segment1 采购订单,
msib.segment1 物料编码, pla.quantity 订单数量, plla.need_by_date 需求日期, ppf.FULL_NAME
采购员, nvl(rcv.quantity,0).....
分类:
数据库 时间:
2014-06-10 20:11:49
阅读次数:
892
原题地址:https://oj.leetcode.com/problems/container-with-most-water/题意:Givennnon-negative
integersa1,a2, ...,an, where each represents a point at coordina...
分类:
编程语言 时间:
2014-06-10 20:05:44
阅读次数:
213
下列语句部分是Mssql语句,不可以在access中使用。SQL分类:DDL—数据定义语言(CREATE,ALTER,DROP,DECLARE)DML—数据操纵语言(SELECT,DELETE,UPDATE,INSERT)DCL—数据控制语言(GRANT,REVOKE,COMMIT,ROLLBACK...
分类:
数据库 时间:
2014-06-10 12:33:43
阅读次数:
495
--子增长的插入 /*创建表*/ create table teacher ( id int
identity(1,1) primary key not null, name varchar(20) ) select * from
teacher/*关闭自增长*/SET IDE...
分类:
数据库 时间:
2014-06-10 12:21:35
阅读次数:
243
相信把这99条sql搞定,Oracle基本笔试简直就像玩的一样
1. select * from emp;
2. select empno, ename, job from emp;
3. select empno 编号, ename 姓名, job 工作 from emp;
4. select job from emp;
5. select di...
分类:
数据库 时间:
2014-06-10 08:18:19
阅读次数:
188
Two players, S and T, are playing a game where they make alternate moves. S plays
first.
In this game, they start with an integer N. In each move, a player removes one digit from the integer and p...
分类:
其他好文 时间:
2014-06-10 06:31:29
阅读次数:
302
问题描述:
The Fibonacci sequence is defined by the recurrence relation:
Fn = Fn1 + Fn2,
where F1 = 1 and F2 = 1.
Hence the first 12 terms will be:
F1 = 1
F2 = 1
F3 = 2
F4 = 3
F5 = 5
F6 = 8
...
分类:
其他好文 时间:
2014-06-10 06:10:06
阅读次数:
307