What's this cost?

Oftentimes when people include actual execution plan (Ctrl-M, see previous posts for a good primer on execution plans) while executing a batch in SQL Server Management Studio, and they see this “Query cost (relative to the batch)” thing on top of each query in the batch, they start to ask: What does this mean? But when…

2