select*from quotas INNER JOIN employee on quotas.Emp_id=employee.Emp_id
INNER JOIN leavetype on quotas.LeaveT_id=leavetype.LeaveT_id
where Quota_id=12345 order by Quota_id desc
หรือ Code (SQL)
select*from quotas INNER JOIN employee on quotas.Emp_id=employee.Emp_id
INNER JOIN leavetype on quotas.LeaveT_id=leavetype.LeaveT_id
where leavetype.LeaveT_id=12345 order by Quota_id desc