select t1.a1, t3.a3, t4.b4, t5.c5 from t1 join t2 on t1.a1 = t2.a1 join t3 on t2.a2 = t3.a2 join t4 on t2.b2 = t4.b2 join t5 on t2.c2 = t5.c2 where t1.b1 = @b1
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)