select table2.* from table1, table2 where table1.id = table2.id order by id desc