From 83d187a8aa4f23c815d8955b204ba6ed0f900cab Mon Sep 17 00:00:00 2001 From: Foxytail8 Date: Sun, 7 Jun 2026 16:52:58 +0300 Subject: [PATCH 1/2] 'Solution' --- task.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/task.sql b/task.sql index 0c5b574..a770c55 100644 --- a/task.sql +++ b/task.sql @@ -1,2 +1,4 @@ # Write your SQL code for the database creation here. Good luck! USE ShopDB; +CREATE INDEX index_product ON Products(Name); +CREATE INDEX index_customer ON Customers(Email); From 384b010f243c957c46a8af5e6a8f3eeea54c683c Mon Sep 17 00:00:00 2001 From: Foxytail8 Date: Sun, 7 Jun 2026 16:58:30 +0300 Subject: [PATCH 2/2] 'Solution2' --- task.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/task.sql b/task.sql index a770c55..3dd513f 100644 --- a/task.sql +++ b/task.sql @@ -1,4 +1,4 @@ # Write your SQL code for the database creation here. Good luck! USE ShopDB; -CREATE INDEX index_product ON Products(Name); -CREATE INDEX index_customer ON Customers(Email); +CREATE INDEX Name ON Products(Name); +CREATE INDEX Email ON Customers(Email);