You need to do 3 separate queries, unless there are millions of rows to display in each select box the cost of these queries is very cheap, and you won't see any database load from it. Combining them all into one query just increases the complexity of the code you're using to render the select boxes.
↧