Hi, Paul,
If it's a full blown query (joins, etc.) then you'll need to get it to the back-end.
If it isn't a large table, ADO.NET does support relations, so theoretically you *could* produce your final result set that way, though you'd have to write some code.
How many tables are represented in this XML file, and how much data are we talking about?
Kevin