我想从特定应用程序的数据库中提取拒绝原因。以下是应用程序中可能的外观示例:
Reasons:
- Missing Information
- Incorrect Information
-----------------------------
BKs-2
此列为APPS_NOTES。但是,当我使用此值运行查询时,我只检索“BKs-2”而不是全文。有没有办法修改我的查询来检索它?以下是查询:
SELECT APPL_ID,
USER_NAME,
APPS_NOTES,
APPS_CODE,
APPS_REASON
FROM APPL_APP
JOIN APPS_APP_STATUS ON APPS_ID = APPL_APPS_ID
JOIN USER_USER ON USER_ID = APPS_USER_ID
WHERE APPL_APPD_ID IS NULL
AND APPL_CREATE_DT >= '2013-12-01 00:00:00'
AND APPL_APPD_ID IS NULL
GROUP BY APPL_ID
ORDER BY APPL_ID;