2022-06-01 15:07:09.802384
SELECT *
            FROM 0_approval_group ag
            WHERE approval_group_id ='8'

2022-06-01 15:07:09.806808
SELECT u.real_name,
                   ap.*
            FROM 0_approvers ap
            LEFT JOIN 0_users u ON
                u.id=ap.user_id
            WHERE ap.approval_group_id ='8' 
                    AND u.inactive = ''

2022-06-01 15:07:09.808774
SELECT u.real_name,
                   ap.*
            FROM 0_approvers ap
            LEFT JOIN 0_users u ON
                u.id=ap.user_id
            WHERE ap.approval_group_id ='8' 
                    AND u.inactive = '1'

2022-06-01 15:07:09.812071
SELECT DISTINCT * FROM 0_attachments WHERE type_no='97' AND trans_no='8'

2022-06-01 15:07:09.815618
SELECT * FROM 0_attachments WHERE type_no='97' AND trans_no='8' ORDER BY trans_no

