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