摘要: group by group by + group_concat() #group by + 集合函数 #group by + having 阅读全文
posted @ 2016-11-09 21:41 AlexBai326 阅读(2276) 评论(0) 推荐(0) 编辑
摘要: select 语法 select from select from where 组合条件查询 聚合函数查询 阅读全文
posted @ 2016-11-09 20:59 AlexBai326 阅读(524) 评论(0) 推荐(0) 编辑
摘要: insert into table-name values() 插入部分列 插入非法null 插入两行 再次插入部分列 使用set 插入数据 column 列顺序与表不一致 使用INSERT…SELECT语句插入从其他表选择的行 查询不能包含一个ORDER BY子句,而且INSERT语句的目的表不能 阅读全文
posted @ 2016-11-08 21:52 AlexBai326 阅读(3494) 评论(0) 推荐(0) 编辑
摘要: 原文 泪云山海的博客 mysql 数据类型 1、整型 取值范围如果加了unsigned,则最大值翻倍,如tinyint unsigned的取值范围为(0~256)。 int(m)里的m是表示SELECT查询结果集中的显示宽度,并不影响实际的取值范围,没有影响到显示的宽度,不知道这个m有什么用。 2、 阅读全文
posted @ 2016-11-04 18:54 AlexBai326 阅读(208) 评论(0) 推荐(0) 编辑
摘要: source 不接路径时,查找文件的路径是执行mysql命令时的路径 接路径时,使用路径+filename mysqldump 导出一个表,使用sql文件恢复表 或者 shell> mysqladmin create target_db_nameshell> mysql target_db_name 阅读全文
posted @ 2016-11-02 21:55 AlexBai326 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 主要记录python如何调用windows CLI 手机连接PC,adb devices可以看到手机sn 通过adb 获取指定app的processID UID 读取Android /proc/net/xt_qtaguid/stats 获取指定列,格式化输出,用于后续统计app消耗的流量 阅读全文
posted @ 2016-10-13 10:01 AlexBai326 阅读(1195) 评论(0) 推荐(0) 编辑
摘要: 做App测试时监测使用期间的cpu,内存,流量,电量等指标时,发现的企鹅很好用的工具。 备份至此,方便后期查阅 转载自CSDN的文章:【腾讯开源】Android性能测试工具APT使用指南 原文URL http://www.csdn.net/article/2014-04-23/2819366-ten 阅读全文
posted @ 2016-10-09 10:35 AlexBai326 阅读(2582) 评论(0) 推荐(0) 编辑
摘要: 做App测试时监测使用期间的cpu,内存,流量,电量等指标时,发现的企鹅很好用的工具。 备份至此,方便后期查阅 以下内容摘抄自企鹅GT官网 http://code.tencent.com/gt.html http://gt.qq.com/ 文档 http://gt.qq.com/docs.html 阅读全文
posted @ 2016-10-08 10:39 AlexBai326 阅读(20600) 评论(1) 推荐(0) 编辑
摘要: 需求1:点击所有报表模板时,server端返回所有报表模板的ID(templateId),测试时需要下载某个模板生成的报表 需求2:点击单个报表模板时,server端返回这个报表模板下的所有报表ID(fileId),获取到fileID以后便可以下载此报表 实现:添加后置处理器 配置后置处理器参数: 阅读全文
posted @ 2016-05-12 16:10 AlexBai326 阅读(4051) 评论(0) 推荐(2) 编辑
摘要: 使用多线程的方式1、函数式:使用threading模块threading.Thread(e.g target name parameters) 1 import time,threading 2 def loop(): 3 print("thread %s is running..." % ... 阅读全文
posted @ 2014-11-28 15:31 AlexBai326 阅读(307) 评论(0) 推荐(0) 编辑