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:
This is admittedly a hack solution, but this:
SELECT TableA.*, "#", TableB.* FROM TableA INNER JOIN TableB ON TableA.B_ID= TableB.id;
Would produce a list of results which would be divided in two blocks, left and right of the # column.