SELECT ENT_ID, '共同债务人' TYPE_, '1' ORDER_, RESP_AMT_CO_DEBIT RESP_AMT, BALANCE_CO_DEBIT BALANCE, FOCUS_BALANCE_CO_DEBIT FOCUS_BALANCE, BAD_BALANCE_CO_DEBIT BAD_BALANCE, RESP_AMT_CO_GUAR RESP_AMT_GUAR, BALANCE_CO_GUAR BALANCE_CO, FOCUS_BALANCE_CO_GUAR FOCUS_BALANCE_CO, BAD_BALANCE_CO_GUAR BAD_BALANCE_CO FROM V_ENT_REL_RESP_SUMMARY WHERE ENT_ID ='911100000000184548' UNION ALL SELECT ENT_ID, '保证人' TYPE_, '2' ORDER_, RESP_AMT_WAR_DEBIT RESP_AMT, BALANCE_WAR_DEBIT BALANCE, FOCUS_BALANCE_WAR_DEBIT FOCUS_BALANCE, BAD_BALANCE_WAR_DEBIT BAD_BALANCE, RESP_AMT_WAR_GUAR RESP_AMT_GUAR, BALANCE_WAR_GUAR BALANCE_CO, FOCUS_BALANCE_WAR_GUAR FOCUS_BALANCE_CO, BAD_BALANCE_WAR_GUAR BAD_BALANCE_CO FROM V_ENT_REL_RESP_SUMMARY WHERE ENT_ID ='911100000000184548' UNION ALL SELECT ENT_ID, '其他' TYPE_, '3' ORDER_, RESP_AMT_ELSE_DEBIT RESP_AMT, BALANCE_ELSE_DEBIT BALANCE, FOCUS_BALANCE_ELSE_DEBIT FOCUS_BALANCE, BAD_BALANCE_ELSE_DEBIT BAD_BALANCE, RESP_AMT_ELSE_GUAR RESP_AMT_GUAR, BALANCE_ELSE_GUAR BALANCE_CO, FOCUS_BALANCE_ELSE_GUAR FOCUS_BALANCE_CO, BAD_BALANCE_ELSE_GUAR BAD_BALANCE_CO FROM V_ENT_REL_RESP_SUMMARY WHERE ENT_ID ='911100000000184548' UNION ALL SELECT ENT_ID, '合计' TYPE_, '4' ORDER_, RESP_AMT_SUM_DEBIT RESP_AMT, BALANCE_SUM_DEBIT BALANCE, FOCUS_BALANCE_SUM_DEBIT FOCUS_BALANCE, BAD_BALANCE_SUM_DEBIT BAD_BALANCE, RESP_AMT_SUM_GUAR RESP_AMT_GUAR, BALANCE_SUM_GUAR BALANCE_CO, FOCUS_BALANCE_SUM_GUAR FOCUS_BALANCE_CO, BAD_BALANCE_SUM_GUAR BAD_BALANCE_CO FROM V_ENT_REL_RESP_SUMMARY WHERE ENT_ID = '911100000000184548' ORDER BY ORDER_
对结果进行分类展示