摘要:
查询执行顺序: from -> on -> join -> where -> group by -> having -> count(聚合函数) -> select -> distinct -> order by -> limit https://www.cnblogs.com/thomasbc/p 阅读全文
摘要:
Create Alter DROP trigger T_addBoxInfo_Inon BoxInfo_Inafter insertasbeginupdate BoxInfo_In set Repeat_Count=Repeat_Count+1 where Id <> (select Id from 阅读全文
摘要:
set statistics profile on sql_statement set statistics profile off type是比较重要的,如果是ref说明是名字索引,性能从低到高依次 all<index<range<index_merge<ref_or_null_ref_eq_re 阅读全文