24. A company’s database contains a table Sales with millions of rows, and the following SQL query is executed frequently:


Which of the following optimizations would most effectively improve the query performance?
(A) Adding an index on SalesAmount
(B) Creating a composite index on (Region, ProductID)
(C) Partitioning the table by ProductID
(D) Using HAVING SUM(SalesAmount) > 0 to filter results
(E) Adding an index on ProductID only

答案:登入後查看
統計: A(0), B(1), C(1), D(0), E(1) #3808131

詳解 (共 1 筆)

#7761605
這題在考什麼觀念 這題考的是索引欄位順序...
(共 1650 字,隱藏中)
前往觀看
0
0