随笔分类 -  mysql

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要:-- 新进榜单,涨幅设为9999 -- 查出涨幅 SELECT shop_id,ranking,`change` FROM apprank_ranking_info WHERE stat_datetime="2024-06-03" AND rank_type = "bestseller" ORDER 阅读全文
posted @ 2018-05-17 18:01 papering 阅读(230) 评论(0) 推荐(0)
摘要:统计数据产品消耗量与产量 注意join 方向 join中子查询 How to use subquery in JOIN operation in MySQL http://www.geeksengine.com/database/subquery/subquery-in-join-operation 阅读全文
posted @ 2018-05-17 09:30 papering 阅读(222) 评论(0) 推荐(0)
摘要:mysql对表列数和行大小的限制 - CSDN博客 https://blog.csdn.net/Dr_Joseph/article/details/78111312 阅读全文
posted @ 2018-05-12 16:24 papering 阅读(2000) 评论(0) 推荐(0)
摘要:阳性比例 mysql CASE UNION ALL 阅读全文
posted @ 2018-05-10 22:55 papering 阅读(274) 评论(0) 推荐(0)
摘要:https://dev.mysql.com/doc/refman/8.0/en/program-variables.html Most of these program variables also can be set at server startup by using the same syn 阅读全文
posted @ 2018-05-01 10:48 papering 阅读(263) 评论(0) 推荐(0)
摘要:import pymysqlfrom redis import Redisimport time h, pt, u, p, db = '192.168.2.210', 3306, 'root', 'nfwt&2016', 'xl_product_DONOT_REMOVE' h, pt, u, p, 阅读全文
posted @ 2018-03-09 14:04 papering 阅读(3225) 评论(0) 推荐(0)
摘要:允许root远程ip访问 grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option; 阅读全文
posted @ 2018-03-09 13:54 papering 阅读(127) 评论(0) 推荐(0)
摘要:MySQL JOIN原理 - M哥 - 博客园 https://www.cnblogs.com/shengdimaya/p/7123069.html MySQL-join的实现原理、优化及NLJ算法 - John_ABC - 博客园 https://www.cnblogs.com/JohnABC/p 阅读全文
posted @ 2018-01-25 14:06 papering 阅读(195) 评论(0) 推荐(0)
摘要:ugc_l = browser.find_elements_by_class_name('ugc-item') try: myl = [{'statistics': i.text.replace('阅读', '').replace('赞', '').replace('评论', '').replace(' ⋅ ', ... 阅读全文
posted @ 2018-01-16 18:35 papering 阅读(184) 评论(0) 推荐(0)
摘要:[SQL]SELECT username,password,toutiao_uidFROM pwdtab pLEFT JOIN toutiao_action_article aON p.toutiao_uid=a.toutiao_uid WHERE 1 AND p.id>3000 [Err] 126 阅读全文
posted @ 2018-01-16 15:36 papering 阅读(241) 评论(0) 推荐(0)
摘要:图文-发布者 多对多 n-n 图文表-关系表-发布者表 阅读全文
posted @ 2018-01-15 19:39 papering 阅读(205) 评论(0) 推荐(0)
摘要:text不可设置默认值 null empty string 前者update 初始值时 我响应,但不报错 阅读全文
posted @ 2018-01-15 18:23 papering 阅读(236) 评论(0) 推荐(0)
摘要:文件id集合 文件表、 SELECT CONCAT('2323',(SELECT 'dsfsd'),'232323'); SELECT CONCAT('2323',(SELECT file_ids FROM img_words WHERE INSTR(toutiao_publisher_id_lis 阅读全文
posted @ 2018-01-15 12:06 papering 阅读(889) 评论(0) 推荐(0)
摘要:/var/lib/mysql/mysql.sock 阅读全文
posted @ 2018-01-13 18:50 papering 阅读(151) 评论(0) 推荐(0)
摘要:mysql 全表 选取 随机数 阅读全文
posted @ 2018-01-11 21:48 papering 阅读(148) 评论(0) 推荐(0)
摘要:连接条件为 或 阅读全文
posted @ 2018-01-11 11:36 papering 阅读(1004) 评论(0) 推荐(0)
摘要:vim /etc/my.cnf mysql 初始化 skip-grant-tables ip port 连接 阅读全文
posted @ 2018-01-10 01:08 papering 阅读(207) 评论(0) 推荐(0)
摘要:可用磁盘空间不足 支持SELECT information_schema. TABLES 阅读全文
posted @ 2018-01-03 07:30 papering 阅读(512) 评论(0) 推荐(0)
摘要:业务需求说明 早8:30点执行该sql,写入定时脚本 【在稳定前,需要手动复检】 INSERT INTO test_error ( url, no_open_times, no_ad_times, ok_times, remarks, script_need_run_times, create_ti 阅读全文
posted @ 2017-12-26 09:30 papering 阅读(1128) 评论(0) 推荐(0)
摘要:SELECT id,'|',url,'|',update_time FROM tab LIMIT 10;SELECT COUNT(1) AS parent,(SELECT COUNT(1) FROM tab WHERE id%2=0) AS child FROM tab; 阅读全文
posted @ 2017-12-22 16:59 papering 阅读(496) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页