Malte, whilst I cannot answer your question with factual numerical proof, I would have thought that the philosophically better way is to ask the database to return what you want. Perhaps better to keep the application 'in the database' and keep tcl as much as possible as a substrate for display.
Also from a readability point of view the sql is very clear.
Regards
Richard