Array
(
    [24674346] => Array
        (
        )

    [24674502] => Array
        (
        )

    [24674600] => Array
        (
        )

    [24674728] => Array
        (
        )

)
SELECT a.*, td.device_identifier 
                 FROM assets a 
                 INNER JOIN tracking_devices td ON a.tracking_devices_id = td.id 
                 INNER JOIN human_resources h ON a.human_resource_id = h.id 
                 WHERE a.sylectus = 1 
                 AND a.device_status = 'online' 
                 AND a.status NOT IN ('book', 'hold') 
                 AND h.status = 'on-duty' 
                 AND a.asset_availability_status != 'under-the-bid'