What wine should you use for cooking?

It is often said that if the wine is not good enough to drink, then it is not good enough to cook with, so any good bottle of red or white wine can be used to cook with, keep clear of the cheap and nasty stuff. And they very expensive wine is better to drink than cook with.