插入记录INSERT [INTO] tbl_name [(col_name,...)] {VALUES丨VALUE} ({expr丨DEFAULT},...) (...),...INSERT [INTO] tbl_name SET col_name = {expr丨DEFAULT},...说明:此方...
分类:
其他好文 时间:
2015-07-21 10:34:07
阅读次数:
119
IE6,IE7,IE8,Firefox兼容的css hack补充:color{ background-color: #CC00FF; /*所有浏览器都会显示为紫色*/ background-color: #FF0000\9; /*IE6、IE7、IE8会显示红色*/ *background-col....
分类:
Web程序 时间:
2015-07-20 23:12:43
阅读次数:
129
/*大意:给出m给不认识关系,要把他们分成两组,每组人都要认识用一个col来记录是否相邻,如果出现奇数环会使得col[v] != 3 - color,不能省如果不存在边,特判,分一个人过去*/#include #include #include #include using namespace st...
分类:
其他好文 时间:
2015-07-20 21:27:26
阅读次数:
89
【BootStrap】 基础一. 自适应(针对不同设备如手机平板笔电,使页面的宽度适应设备宽度) 二. 布局 1. 容器 .container 2. 栅格 .row - 最主要的布局样式 a. 一行最多包含12个单元格,超出12个会再起一行 b. 单元格样式 .col-xs-(手机...
分类:
其他好文 时间:
2015-07-20 18:43:07
阅读次数:
100
基本语法:{dede:arclist flag='h' typeid='' row='' col='' titlelen='' infolen='' imgwidth='' imgheight='' listtype='' orderby='' keyword='' limit='0,1'}[fie...
分类:
其他好文 时间:
2015-07-20 16:00:50
阅读次数:
224
多表连接:1.Natural join: --两表连接[自动匹配两个表中,列名和数据类型都相同的列(多列列名相同就匹配多列)][select_list中的col_name不能加前缀]– USING clause --只能join,不能写natural join; --using(两表中相同列列名)....
分类:
其他好文 时间:
2015-07-19 13:14:39
阅读次数:
159
#include#include#include#includeusing namespace std;int A[10][10];int row[10][15];int col[10][15];int num[10][15];int tot;struct abc{ int x,y; i...
分类:
其他好文 时间:
2015-07-19 13:08:59
阅读次数:
83
查询操作group by、 order by、 join 、 distribute by、
sort by、 clusrer by、 union all底层的实现
mapreduce常见的聚合操作count计数count(*) 所有值不全为NULL时,加1操作
count(1) 不管有没有值,只要有这条记录,值就加1
count(col) col列里面的值为null,值不会加1,这个...
分类:
其他好文 时间:
2015-07-19 11:51:52
阅读次数:
193
1、cell数组cell: [ {row: 0, col: 0, readOnly: true}]2、cells函数cells: function(row, col, prop){ var cellProperties = {}; if(row === 0 && col === 0){ cellP....
分类:
其他好文 时间:
2015-07-18 10:54:59
阅读次数:
199
073 Set Matrix Zeroes这道题唯一有点tricky的地方就是 需要O(1) 的space, 这样就利用第一个行 和第一列作为整个matrix的标记位,再用 row 和 col两个作为第一列和第一个行的标志位class Solution: # @param {integer[]...
分类:
其他好文 时间:
2015-07-18 07:04:27
阅读次数:
102