{dede:sql sql="select litpic FROM #@__archives where typeid=56 limit 0,1"} {/dede:sql}
分类:
其他好文 时间:
2015-11-10 12:23:16
阅读次数:
180
mysql查询本季度今天select * from 表名 where to_days(时间字段名) = to_days(now());昨天SELECT *FROM表名WHERE TO_DAYS( NOW( ) ) – TO_DAYS( 时间字段名) <= 17天SELECT *FROM表名 wher...
分类:
数据库 时间:
2015-11-10 12:15:08
阅读次数:
202
经常遇到这个警告# hdfs dfs -ls /input
15/11/10 10:00:32 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable问题在哪里?有人说这是hadoop的预编译包是...
分类:
其他好文 时间:
2015-11-10 10:49:04
阅读次数:
158
1. 内连接很简单select A.*, B.* from A,B where A.id = B.idselect A.*, B.* from A inner join B on A.id = B.id以上两句是完全等价的2. 左外连接select * from emp a left join de...
分类:
数据库 时间:
2015-11-10 10:34:23
阅读次数:
275
#include?<windows.h>
?
LRESULT?CALLBACK?WndProc(HWND,?UINT,?WPARAM,?LPARAM);
?
HINSTANCE?hInst;
?
/*?The?‘main‘?function?of?Win32?GUI?programs:?this?is?where?execution?starts?...
分类:
其他好文 时间:
2015-11-10 07:10:14
阅读次数:
253
关于Gentoo发行版的介绍请看:全球最受欢迎的十大Linux发行版(图)Host机环境:Win2008 + VMware 7.1下载安装包下载安装 CD 和 stage3 包:http://www.gentoo.org/main/en/where.xml我用的是 x86平台的:http://dis...
分类:
其他好文 时间:
2015-11-10 01:42:46
阅读次数:
410
全文索引 ? ? 全文索引是一种特殊类类型索引,它查找的是文本中的关键词,而不是直接比较索引中的值。 ????全文索引 更类似于搜索引擎做的事情,而不是简单的WHERE条件匹配。 ????全文搜索和其...
分类:
数据库 时间:
2015-11-09 21:07:31
阅读次数:
261
Description:The reflected binary code, also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only...
分类:
其他好文 时间:
2015-11-09 18:59:24
阅读次数:
225
问题: 今天在MySQL数据库删除重复数据的时候遇到了一个问题。如下脚本:DELETE FROM tempA WHERE tid IN (SELECT MAX(tid) AS tid FROM tempA GROUP BY name,age) 会出现报错信息: You can't spec...
分类:
其他好文 时间:
2015-11-09 17:18:37
阅读次数:
275
select * from table where target_text like "3";查找出来的都是target_text 为 3 的数据select * from table where target_text like "%3%";查找出来的都是target_text 包含 3 的数.....
分类:
数据库 时间:
2015-11-09 17:17:21
阅读次数:
244