码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果)
Requirement-Driven Linux Shell Programming
Requirement-Driven Linux Shell ProgrammingRequirement-Driven Linux Shell ProgrammingTable of Contents1. Where can I find the basic Material about Linu...
分类:系统相关   时间:2014-07-18 16:19:12    阅读次数:403
hdu 3342 Legal or Not
Problem DescriptionACM-DIY is a large QQ group where many excellent acmers get together. It is so harmonious that just like a big family. Every day,ma...
分类:其他好文   时间:2014-07-18 16:10:11    阅读次数:233
WHERE条件中or与union引起的全表扫描的问题
说起数据库的SQL语句执行效率的问题,就不得不提where条件语句中的or(逻辑或)引起的全表扫描问题,从而导致效率下降。在以往绝大多数的资料中,大多数人的建议是使用union代替or,以解决由于使用了OR导致的全表扫描。然而,实际是不是如此呢?flymorn就拿5万多条数据的MSSQL数据库来测试...
分类:其他好文   时间:2014-07-18 16:04:57    阅读次数:356
MySQL分区表(转)
查看分区情况SELECT * FROM information_schema.PARTITIONS WHERE table_name='table_name';PARTITION_NAME:分区的名称PARTITION_METHOD:分区的类型TABLE_ROWS:分区数据条数RANGE分区:cre...
分类:数据库   时间:2014-07-18 14:23:09    阅读次数:321
POJ 2965 The Pilots Brothers' refrigerator 搜索+枚举
Description The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator. There are 16 handles on the refrigerator door. Every handle can b...
分类:其他好文   时间:2014-07-18 12:21:12    阅读次数:253
【leetcode】Trapping Rain Water
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:移动开发   时间:2014-07-18 11:38:45    阅读次数:228
Yii2.0 查询(CRUD)
yii2使用中的一些基本的增删改查操作。以用户为例说明:User::find()->all(); //返回所有用户数据;User::findOne($id); //返回 主键 id=1 的一条数据;User::find()->where(['name' => 'ttt'])->one(); /...
分类:其他好文   时间:2014-07-18 11:37:42    阅读次数:209
Codeforces Round #256 (Div. 2) E Divisors
E. DivisorsBizon the Champion isn't just friendly, he also is a rigorous coder.Let's define function f(a), where a is a sequence of integers. Function...
分类:其他好文   时间:2014-07-18 10:21:31    阅读次数:269
几种更新(Update语句)查询的方法
正 文:数据库更新就一种方法Update,其标准格式:Update 表名 set 字段=值 where 条件只是依据数据的来源不同,还是有所差别的:1.从外部输入这样的比較简单例:update tb set UserName="XXXXX" where UserID="aasdd"2.一些内部变量,...
分类:其他好文   时间:2014-07-17 22:07:39    阅读次数:185
数据库结构查询
--1:获取当前数据库中的所有用户表select Name from sysobjects where xtype='u' and status>=0--2:获取某一个表的所有字段select name from syscolumns where id=object_id(N'表名')--3:查看与...
分类:数据库   时间:2014-07-17 22:01:43    阅读次数:467
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!