I have multiple tables with table 1 containing the primary id key. I am concatenating all tables based on the id. But this doesn\'t give me the desired output.