kalau table tidak bereleasi:
select table1.NIK,table1.Nama,table1.tahunlahir,table2.NIK as NIK2,table2.Nama as Nama2,table2.tahunlahir as tahunlahir2 from table1,table2
jika berelasi:
table1.NIK,table1.Nama,table1.tahunlahir,table2.NIK as NIK2,table2.Nama as Nama2,table2.tahunlahir as tahunlahir2 from table1 inner join table2 on table1.NIK = table2.NIK