select a.a1,b.b1,b.b2,a.a2 as c2,(select top 1 c.c3 from c where c2=a.a2) as c3 
         from a,b where b.b1=a.a2