Skip to content

Commit

Permalink
Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavyvk committed Mar 4, 2024
1 parent d2b96d4 commit ea3ed22
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion task.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# Write your SQL code for the database creation here. Good luck!

USE ShopDB;


CREATE INDEX idx_email ON Customers(Email);

CREATE INDEX idx_name ON Products(Name);

CREATE INDEX idx_customer_id ON Orders(CustomerID);

CREATE INDEX idx_order_id ON OrderItems(OrderID);
CREATE INDEX idx_product_id ON OrderItems(ProductID);

0 comments on commit ea3ed22

Please sign in to comment.