achievements_project/sql/Indexes.sql

22 lines
538 B
MySQL
Raw Normal View History

2021-02-19 20:49:24 +00:00
-----------------
-- Email Index --
-----------------
CREATE NONCLUSTERED INDEX EmailIndex ON [User](Email)
------------------
-- Name Indexes --
------------------
CREATE NONCLUSTERED INDEX UsernameIndex ON [User](Username)
CREATE NONCLUSTERED INDEX GameNameIndex ON Game(Name)
CREATE NONCLUSTERED INDEX AchievementNameIndex ON Achievement(Name)
--------------------
-- Rating Indexes --
--------------------
CREATE NONCLUSTERED INDEX DifficultyIndex ON Rating(Difficulty)
CREATE NONCLUSTERED INDEX QualityIndex ON Rating(Quality)