SELECT t1.id,t1.name1 FROM `t1`,t2 WHERE t1.id=t2.id t1 ve t2 tablosundaki id alanları eşitse t1 alanlarını getirir