
sale_consign_change表上有entity_id單值索引,也有entity_id和created_on的組合索引
在表連接查詢的時候,為什么不走組合索引,而是走單值索引呢。
uj5u.com熱心網友回復:
可以看看這個 https://blog.csdn.net/Abysscarry/article/details/80792876 ,希望有所幫助轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/269543.html
標籤:MySQL
上一篇:創建函式時報錯提示ERROR 1415 (0A000): Not allowed to return a result set from a function
