From 3b34a11203a83e17c6ba68bf31aaf5a490e309ba Mon Sep 17 00:00:00 2001 From: aj-012 <139080470+aj-012@users.noreply.github.com> Date: Sun, 9 Jul 2023 23:01:30 +0100 Subject: [PATCH] Update schema.sql --- schema.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/schema.sql b/schema.sql index fb0a83c..0284aff 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 customer_idx on Orders(CustomerID);