select
(select Name from table2 where id=a.a_id) aName,
(select Name from table2 where id=a.b_id) bName,
(select Name from table2 where id=a.c_id) cName
from table1 a