select a.* , b.p_stu_f , b.p_stu_s , c.p_adv_f , c.p_adv_s , d.p_spe_f , d.p_spe_s from senior_n a
left join senior_stu b on a.p_stu = b.p_stu
left join senior_adv c on a.p_adv = c.p_adv
left join senior_spe d on a.p_spe = d.p_spe
มันคืออย่างงี้อะครับ
error=select a.* , b.p_stu_f , b.p_stu_s , c.p_adv_f , c.p_adv_s , d.p_spe_f , d.p_spe_s from senior_n a left join senior_stu b on a.p_stu = b.p_stu left join senior_adv c on a.p_adv = c.p_adv left join senior_spe d on a.p_spe = d.p_spe