If you ever wondered why your query is taking so long – or if you ever stared blankly at the weird execution plan – or just curious to know why sometimes “estimated number of rows” is far off the actual – this article is likely to help.