SELECT `a`.`id`, `a`.`month`, `a`.`year`, `b`.`roc_no`, `b`.`name`
FROM `hr__payslip` `a`
JOIN `company__business_entity` `b` ON `b`.`id` = `a`.`companyID`
JOIN `hr__payslip_upload` `c` ON `c`.`id` = `a`.`uploadID`
WHERE `a`.`employeeIC` = '987654321236'
AND `c`.`is_delete` =0
ORDER BY `c`.`year` desc, `c`.`month` desc
 LIMIT 6