业务需求:公司有个CRM经纪人管理系统,前天遇到的比较棘手的问题是,要查询一张表中不在另一张表中的所有用户并分页显示,但问题是外表的数据量很大,如果用not in(select ..),not exists(select ...)之类的子查询 的话需要对子查询表进行所有信息的调用过滤才行,一单子查询数据量过大效率问题就来了,于是就私下里查了一点资料,并根据资料中提供的例子建立了对应的测试表做了一些...
分类:
其他好文 时间:
2015-04-17 11:27:18
阅读次数:
217
Shoot the BulletTime Limit:2 Seconds Memory Limit:32768 KB Special JudgeGensokyois a world which exists quietly beside ours, separated by a mystical b...
分类:
编程语言 时间:
2015-04-17 01:00:00
阅读次数:
192
(这是一个小系列:请戳:Elasticsearch之Nested(嵌套)系列,查看其他nested相关文章)
It is possible to sort by the value of a nested field, even though the value exists in a separate nested document. To make the re...
分类:
其他好文 时间:
2015-04-16 20:01:26
阅读次数:
141
在阅读的过程中有任何问题,欢迎一起交流
邮箱:1494713801@qq.com
QQ:1494713801
1、在指定目录下创建文件夹及文件,并写入初始内容
File file = new File("filePath");
File pf = file.getParentFile();
if(!pf.exists()){
pf.mk...
分类:
编程语言 时间:
2015-04-16 12:33:00
阅读次数:
143
此题写起来有点烦躁,但思路并不难。枚举一下丢1,2,3,4,5张的所有情况,就可以出答案了。DFS。#includechar s1[6][3], s2[6][3];//输入int hand[6], deck[6];//输入点数的转换成数字int flag[6];//标记这张牌用不用 1表示用int ...
分类:
其他好文 时间:
2015-04-16 07:57:41
阅读次数:
210
--判断某个存储过程是否存在if exists (select * from sysobjects where id = object_id(N'[p_CreateTable]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure ...
分类:
数据库 时间:
2015-04-15 22:47:49
阅读次数:
185
今天由于网页上要加入一个视频文件,就研究了一下flv视频播放器flvplayer.swf一、直接在html文件中加载:二、使用javascript动态加载:复制代码代码如下:在body区域中加入以下代码:复制代码代码如下:播放1播放2JW FLV PLAYER 在线FLV播放器中文使用说明使用方法:...
分类:
其他好文 时间:
2015-04-15 22:42:52
阅读次数:
214
题目:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest...
分类:
其他好文 时间:
2015-04-15 21:20:54
阅读次数:
101
class Program { struct player { public string name; public int hp; public int gj; public ...
分类:
其他好文 时间:
2015-04-15 21:16:00
阅读次数:
133
ASP.NET Web Pages (Razor) API Quick ReferenceBy Tom FitzMacken|February 10, 2014PrintThis page contains a list with brief examples of the most commonl...