Let the first table be table0, use multiple left join like this:
select t0.tlid, t1.id, t0.name, t0.gender, t2.type, t2.abc, t2.xyz from
table0 t0 left join table1 t1 on t0.tlid =t1.tlid
left join table2 t2 on t1.rfid=t2.rfid
Learn more about
Visual Representation of SQL Joins[
^]