12 2021 档案

摘要:1. -- mysql select GROUP_CONCAT(column_name) from information_schema.columns where table_schema='数据库名' and TABLE_NAME = '表名'GROUP BY table_name; -- pg 阅读全文
posted @ 2021-12-24 17:28 10132714 阅读(264) 评论(0) 推荐(0) 编辑
摘要:引用地址:https://www.cnblogs.com/heishuichenzhou/p/10813463.html 1. 主键索引在索引里面存储的是整条记录的值,非主键索引存的就是当前索引列的值。 在查询select * 的时候,主键索引扫描即可返回结果,而非主键索引先扫描索引列,然后再去取值 阅读全文
posted @ 2021-12-19 11:33 10132714 阅读(334) 评论(0) 推荐(0) 编辑
摘要:引用地址:https://www.cnblogs.com/zsrecord/p/11858602.html 问题描述: 执行insert或者update,delete,报错:Error Code: 1205. Lock wait timeout exceeded; try restarting tr 阅读全文
posted @ 2021-12-06 17:15 10132714 阅读(167) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示