Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a tableview cell's content view. We're considering the c...
分类:
其他好文 时间:
2015-12-21 17:45:39
阅读次数:
238
一、事务的概念?事务指逻辑上的一组操作,组成这组操作的各个单元,要不全部成功,要不全部不成功.?例如:A——B转帐,对应于如下两条sql语句update from account set money=money+100 where name='b';update from account set m...
分类:
数据库 时间:
2015-12-21 17:42:13
阅读次数:
362
select username,lockwait,status,machine,program from v$session where sid in (select session_id from v$locked_object);select sql_text from v$sql where ...
分类:
数据库 时间:
2015-12-21 14:23:51
阅读次数:
180
left join :左连接,返回左表中所有的记录以及右表中连接字段相等的记录。right join :右连接,返回右表中所有的记录以及左表中连接字段相等的记录。inner join: 内连接,又叫等值连接,只返回两个表中连接字段相等的行。full join:外连接,返回两个表中的行:left jo...
分类:
数据库 时间:
2015-12-21 14:23:37
阅读次数:
141
查询数据:select s_name from student limit 1;//限制数量select * from student where s_id in (select s_id from student where s_id is not null);MySQL where 子句我们知道...
分类:
数据库 时间:
2015-12-21 12:15:01
阅读次数:
215
场景:对2千万个数据,修改他们的名字加上后缀“生日”。普通sql:update calendar_info set title =concat(title, '生日') where specialtype = 1 and not regexp_like(title, '生日');优化sql:decl...
分类:
数据库 时间:
2015-12-21 09:21:16
阅读次数:
182
默写说明:查询别名所指的真实cmdlet命令Get-Alias -name ls查看可用的别名,可以通过 “ls alias:” 或者 “Get-Alias”查看所有以Remove打头的cmdlet的命令的别名dir alias: | where {$_.Definition.Startswith(...
分类:
系统相关 时间:
2015-12-21 00:11:14
阅读次数:
309
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each numb...
分类:
编程语言 时间:
2015-12-20 22:24:34
阅读次数:
227
1.知识点:能够对比以下的录屏进行阅读SQL> -- 查询10和20号部门的员工的3种方法SQL> --1. select * from emp where deptno in (10,20);SQL> --2. select * from emp where deptno=10 or deptno...
分类:
数据库 时间:
2015-12-20 14:36:45
阅读次数:
314
Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all the elements of nums except ...
分类:
其他好文 时间:
2015-12-20 13:04:10
阅读次数:
153