I have two tables with a variable amount of columns. (I don\'t know how many columns or what there names will be) for example Table A and Table B.
TableA:
Your result set (given your query) should have all of the TableA columns followed by all the TableB colums, so when you get to the second ID
colum, you know you're into the TableB data.
That said, it is would seem odd to me that you're querying all the data out of two tables about which you know functionally nothing...