From 8e6089d190b904ccf8dc8e1f467392d2bb733b1c Mon Sep 17 00:00:00 2001 From: aizaz-ahammad9 Date: Sun, 8 Oct 2023 10:01:01 +0530 Subject: [PATCH] Update schema.sql --- schema.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/schema.sql b/schema.sql index fb0a83c..43de8de 100644 --- a/schema.sql +++ b/schema.sql @@ -1014,3 +1014,4 @@ insert into Orders (CustomerID, OrderDate, ProductID, Quantity) values (1000, '2 -- Write query to create the index that you will create to optimize a query like -- SELECT * FROM Orders WHERE CustomerID = {abc} AND OrderDate > '{abc}'; +create index idx_orders_customerid on Orders(CustomerID);