SELECT id,data FROM table1 ORDER BY id
SELECT id,table1_id,data FROM table2 ORDER BY id
SELECT id,table2_id,mod_date, data FROM table3 ORDER BY id
select col1,col2,data,newcol from table4 order by col1,col2