select count(*) as cnt from e_epms_write P LEFT JOIN g4_member M ON P.mb_id = M.mb_id where em_status = '6' and P.mb_id='' order by mb_id asc

1052 : Column 'mb_id' in order clause is ambiguous

error file : /my/member/epms/epms_write_list.php