From d46f8308e3c8948d26de236d99a983bec5ba4090 Mon Sep 17 00:00:00 2001 From: aizaz-ahammad9 Date: Sun, 8 Oct 2023 09:54:50 +0530 Subject: [PATCH] Update schema.sql --- schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.sql b/schema.sql index fb0a83c..6915bb1 100644 --- a/schema.sql +++ b/schema.sql @@ -1013,4 +1013,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_custID_orderdate on Orders(CustomerID,OrderDate);