How does database indexes works?
Most consumer-facing web startups these days use one of the major open source databases, either MySQL or PostgreSQL, to some degree. If you want to prove your worth, it’s a good idea to get down to the nitty gritty and gain some understanding about these databases’ internals.
Please explain to me:
1. What databases indexes are and how they work.
2. Do I need to index a column that is in different table in SQL server?








