随笔分类 - mysql
摘要:-- 新进榜单,涨幅设为9999 -- 查出涨幅 SELECT shop_id,ranking,`change` FROM apprank_ranking_info WHERE stat_datetime="2024-06-03" AND rank_type = "bestseller" ORDER
阅读全文
摘要:统计数据产品消耗量与产量 注意join 方向 join中子查询 How to use subquery in JOIN operation in MySQL http://www.geeksengine.com/database/subquery/subquery-in-join-operation
阅读全文
摘要:mysql对表列数和行大小的限制 - CSDN博客 https://blog.csdn.net/Dr_Joseph/article/details/78111312
阅读全文
摘要:阳性比例 mysql CASE UNION ALL
阅读全文
摘要: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
阅读全文
摘要: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,
阅读全文
摘要:允许root远程ip访问 grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
阅读全文
摘要:MySQL JOIN原理 - M哥 - 博客园 https://www.cnblogs.com/shengdimaya/p/7123069.html MySQL-join的实现原理、优化及NLJ算法 - John_ABC - 博客园 https://www.cnblogs.com/JohnABC/p
阅读全文
摘要:ugc_l = browser.find_elements_by_class_name('ugc-item') try: myl = [{'statistics': i.text.replace('阅读', '').replace('赞', '').replace('评论', '').replace(' ⋅ ', ...
阅读全文
Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=
摘要:[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
阅读全文
摘要:图文-发布者 多对多 n-n 图文表-关系表-发布者表
阅读全文
摘要:text不可设置默认值 null empty string 前者update 初始值时 我响应,但不报错
阅读全文
摘要:文件id集合 文件表、 SELECT CONCAT('2323',(SELECT 'dsfsd'),'232323'); SELECT CONCAT('2323',(SELECT file_ids FROM img_words WHERE INSTR(toutiao_publisher_id_lis
阅读全文
摘要:/var/lib/mysql/mysql.sock
阅读全文
摘要:vim /etc/my.cnf mysql 初始化 skip-grant-tables ip port 连接
阅读全文
摘要:可用磁盘空间不足 支持SELECT information_schema. TABLES
阅读全文
摘要:业务需求说明 早8:30点执行该sql,写入定时脚本 【在稳定前,需要手动复检】 INSERT INTO test_error ( url, no_open_times, no_ad_times, ok_times, remarks, script_need_run_times, create_ti
阅读全文
摘要: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;
阅读全文