Duplicate of How to frame a query... Thread closed.