GROUP BY语句 功能:根据一个或多个列对结果集进行分组 WITH ROLLUP 功能:实现在分组统计数据基础上在进行相同的统计 ##select coalesce(a,b,c); 如果a==null,则选择b; 如果b==null,则选择c; 如果a!=null,则选择a; ...
分类:
数据库 时间:
2021-02-16 12:05:10
阅读次数:
0
动态赋值 var str = ''; for (var i = 0; i < response.data.id_with_codes.length; i++){ str += '<option value="'+ response.data.id_with_codes[i][0] +'">'+ re ...
分类:
其他好文 时间:
2021-02-15 12:19:35
阅读次数:
0
从命令提示窗口中选择MySQL数据库 语法:USE 数据库名; 使用PHP脚本选择MySQL数据库 语法:mysqli_select_db(connection,dbname); 规定要使用的MySQL连接(必须) 规定要使用的默认数据库(必须) 举个例子 <?php header("content ...
分类:
数据库 时间:
2021-02-15 12:19:21
阅读次数:
0
最近在做移动端的需求时,有一个长按的需求,总是会触发移动端浏览器自带的长按效果,而且文字也会被选中,所以需要修改为文字不能被选中,浏览器默认长按效果禁止掉。 *{ -webkit-touch-callout:none;/*系统默认菜单被禁用*/ -webkit-user-select:none;/* ...
分类:
移动开发 时间:
2021-02-09 12:33:15
阅读次数:
0
1:oracle 分页 select * from (select t.*, rownum rn from (select * from menu order by id desc) t where rownum < 10) where rn >=5 2: mysql 分页 select * fro ...
分类:
数据库 时间:
2021-02-09 12:24:17
阅读次数:
0
# 查询主表相关信息,并且显示最新的记录 SELECT type.number as '序号', type.date as '时间', type.name as '名称', main.content as '项目名称', main.manager as '负责人', unit.name as '单位 ...
分类:
数据库 时间:
2021-02-09 12:01:19
阅读次数:
0
### 新建vue项目 npm install @vue/cli -g // 如果安装过脚手架,不必再次安装 vue create vision 手动选择一些特性 > Manually select features 空格选择一些插件 Check the features needed for yo ...
分类:
其他好文 时间:
2021-02-09 11:46:36
阅读次数:
0
#clickhouse: 默认端口8123 或90001.在sql语句连接其他clickhouse数据库,参数:ip端口,数据库表,用户名,密码select * from remote('192.168.1.12:8123',mysql_test.r_app_rank,'root','123456' ...
分类:
数据库 时间:
2021-02-08 12:25:24
阅读次数:
0
VS2015 提供的性能探查器,可以看到程序的哪部分代码占用了多少的cpu 可以看到 FD_SET select FD_ISSET recv这几个个函数占用的cpu比较高 将服务端改造成多线程: 1.分离处理客户端连接的函数,放到线程中。减少客户端并发连接时间。 2.分摊占用cpu的操作,放到几个线 ...
分类:
编程语言 时间:
2021-02-08 11:58:13
阅读次数:
0
EDM entity data model 实体数据模型 Conceptual models 概念模型 Mappings 连接 Storage models 存储模型 Orm object relational mapping 对象关系映射 EF entity framework 是基于ADO.Ne ...
分类:
数据库 时间:
2021-02-06 12:17:48
阅读次数:
0