From 5d9f80d3e6e3e282e24466d5df31ec8ef1c118da Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 11 Mar 2026 15:07:27 +0100 Subject: [PATCH 1/2] idexes have added --- task.sql | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/task.sql b/task.sql index 0c5b574..a66f89a 100644 --- a/task.sql +++ b/task.sql @@ -1,2 +1,5 @@ -# Write your SQL code for the database creation here. Good luck! -USE ShopDB; +# Write your SQL code for the database creation here. Good luck! +USE ShopDB; + +CREATE INDEX idx_email ON Customers(Email); +CREATE INDEX idx_product_name ON Products(Name); From 4d31f3c5a91d1226b6ce0025576d0f25bd27b3bf Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 11 Mar 2026 15:12:41 +0100 Subject: [PATCH 2/2] idx's names have changed --- task.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/task.sql b/task.sql index a66f89a..300986d 100644 --- a/task.sql +++ b/task.sql @@ -1,5 +1,5 @@ # Write your SQL code for the database creation here. Good luck! USE ShopDB; -CREATE INDEX idx_email ON Customers(Email); -CREATE INDEX idx_product_name ON Products(Name); +CREATE INDEX Email ON Customers(Email); +CREATE INDEX Name ON Products(Name);