Multiple column left join from table1, table2
SELECT t1.name AS p1, t2.name AS p2, t3.name AS p3, t4.name AS p4
FROM table2 tbl2 INNER JOIN table1 t1 ON tbl2.p1 = t1.id
INNER JOIN table1 t2 ON tbl2.p2 = t2.id
INNER JOIN table1 t3 ON tbl2.p3 = t3.id
INNER JOIN table1 t4 ON tbl2.p4 = t4.id
Click the link below for a running demo.
SQLFiddle
select P1, t1.Name,P2, t3.Name, P3,t4.Name, P4 , t5.Name From Table2 T2
left join table1 t1 on
T2.P1 = T1.Id
left join table1 t3 on
T2.P2 = T3.Id
left join table1 t4 on
T2.P3 = T4.Id
left join table1 t5 on
T2.P4 = T5.Id