Ver originalselect t1.dato1,t1.dato2, t2.dato1, t2.dato2 from tabla1 as t1inner join tabla2 as t2 on (t1.id=t2.id)where condicion