SQL Index |¦| Indexes in SQL |¦| Database Index


Indexes in SQL are used to speed up SQL queries. A database index works much like an index in a book. For example, if you have a database table with a list of people, a common query would be to lookup someone by name. Creating an index means the database will not have to scan the entire table looking for matches. Instead, it will restrict its search to a small portion of the rows. In this video we use a table with 100 million rows to illustrate how much an index can change the speed of a query. Our SQL playlist starts here: ↪http://bit.ly/Socratica_SQL Be sure to SUBSCRIBE for more SQL! ↪ http://bit.ly/SocraticaSubscribe You may also enjoy our Python playlist: ↪http://bit.ly/PythonSocratica ——————————————— »» To​ ​help​ ​us​ make videos more quickly,​ ​you​ ​can​ ​support​ Socratica at: … ​Patreon​: https://www.patreon.com/socratica … Paypal: https://www.paypal.me/socratica … Bitcoin: 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9 Thank​ ​you!! ——————————————— »» You​ ​can​ ​also​ ​follow​ ​Socratica​ ​on: ...​ ​Twitter:​ ​@socratica … ​Instagram:​ ​@SocraticaStudios … ​Facebook:​ ​@SocraticaStudios ——————————————— SQL instructor: Ulka Simone Mohanty (@ulkam on Twitter) Written & Produced by Kimberly Hatch Harrison (@khhsocratica) & Michael Harrison (@mlh496)


View on YouTube