From 4103a852f6c121011bb7869e04a81f328b71e67e Mon Sep 17 00:00:00 2001 From: KiranACD <64699835+KiranACD@users.noreply.github.com> Date: Thu, 22 Feb 2024 18:43:04 +0000 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..eed3946 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_cidDate on Orders (CustomerID, OrderDate);