diff --git "a/Dataset.json" "b/Dataset.json" new file mode 100644--- /dev/null +++ "b/Dataset.json" @@ -0,0 +1,548 @@ +[ + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Show me all records assosciated with application id 890026172.", + "Output": "SELECT * from HIX.T_ENRT WHERE APPLN_ID = '890026172'", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Show me all records assosciated with application id 890026172. ### Output: SELECT * from HIX.T_ENRT WHERE APPLN_ID = '890026172'" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Find the number of Unique policies whose transmission is pending.", + "Output": "SELECT count(distinct(ENRT_LOGICAL_ID)) FROM HIX.T_ENRT where ENRT_LOGICAL_ID IN (SELECT DISTINCT (ENRT_LOGICAL_ID) FROM HIX.T_ENRT) and CARR_MSG_STATUS_ID='3238'", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Find the number of Unique policies whose transmission is pending. ### Output: SELECT count(distinct(ENRT_LOGICAL_ID)) FROM HIX.T_ENRT where ENRT_LOGICAL_ID IN (SELECT DISTINCT (ENRT_LOGICAL_ID) FROM HIX.T_ENRT) and CARR_MSG_STATUS_ID='3238'" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Find the number of Total roecords whose transmission is pending.", + "Output": "SELECT count(ENRT_ID) FROM HIX.T_ENRT where ENRT_LOGICAL_ID IN (SELECT DISTINCT (ENRT_LOGICAL_ID) FROM HIX.T_ENRT) and CARR_MSG_STATUS_ID='3238'", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Find the number of Total roecords whose transmission is pending. ### Output: SELECT count(ENRT_ID) FROM HIX.T_ENRT where ENRT_LOGICAL_ID IN (SELECT DISTINCT (ENRT_LOGICAL_ID) FROM HIX.T_ENRT) and CARR_MSG_STATUS_ID='3238'" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Find the number of Unique policies of year 2021 whose transmission is pending.", + "Output": "SELECT count(distinct(ENRT_LOGICAL_ID)) FROM HIX.T_ENRT where ENRT_LOGICAL_ID IN (SELECT DISTINCT (ENRT_LOGICAL_ID) FROM HIX.T_ENRT te1 WHERE te1.ENRT_YEAR = '2021' OR YEAR(te1.PLAN_ENRT_DT) = '2021') and CARR_MSG_STATUS_ID='3238'", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Find the number of Unique policies of year 2021 whose transmission is pending. ### Output: SELECT count(distinct(ENRT_LOGICAL_ID)) FROM HIX.T_ENRT where ENRT_LOGICAL_ID IN (SELECT DISTINCT (ENRT_LOGICAL_ID) FROM HIX.T_ENRT te1 WHERE te1.ENRT_YEAR = '2021' OR YEAR(te1.PLAN_ENRT_DT) = '2021') and CARR_MSG_STATUS_ID='3238'" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Find the number of Total roecords of year 2021 whose transmission is pending.", + "Output": "SELECT count(ENRT_ID) FROM HIX.T_ENRT where ENRT_LOGICAL_ID IN (SELECT DISTINCT (ENRT_LOGICAL_ID) FROM HIX.T_ENRT te1 WHERE te1.ENRT_YEAR = '2021' OR YEAR(te1.PLAN_ENRT_DT) = '2021') and CARR_MSG_STATUS_ID='3238'", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Find the number of Total roecords of year 2021 whose transmission is pending. ### Output: SELECT count(ENRT_ID) FROM HIX.T_ENRT where ENRT_LOGICAL_ID IN (SELECT DISTINCT (ENRT_LOGICAL_ID) FROM HIX.T_ENRT te1 WHERE te1.ENRT_YEAR = '2021' OR YEAR(te1.PLAN_ENRT_DT) = '2021') and CARR_MSG_STATUS_ID='3238'" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Show me the enrt_logical_id, enrt_id, enrt_type_cd, enrt_status_cd for those who are enrolled in dental plan.", + "Output": "SELECT enrt_logical_id, enrt_id, enrt_type_cd, enrt_status_cd FROM HIX.T_ENRT WHERE APPLN_ID = '64827197391' AND enrt_type_cd = '9855'", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Show me the enrt_logical_id, enrt_id, enrt_type_cd, enrt_status_cd for those who are enrolled in dental plan. ### Output: SELECT enrt_logical_id, enrt_id, enrt_type_cd, enrt_status_cd FROM HIX.T_ENRT WHERE APPLN_ID = '64827197391' AND enrt_type_cd = '9855'" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Find the enrollment ID for the member with the most recent enrollment date", + "Output": "SELECT ENRT_ID from HIX.T_ENRT WHERE PLAN_ENRT_DT = (SELECT MAX(PLAN_ENRT_DT) from HIX.T_ENRT);", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Find the enrollment ID for the member with the most recent enrollment date ### Output: SELECT ENRT_ID from HIX.T_ENRT WHERE PLAN_ENRT_DT = (SELECT MAX(PLAN_ENRT_DT) from HIX.T_ENRT);" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "List all the active enrollments", + "Output": "SELECT * from HIX.T_ENRT WHERE ENRT_STATUS_CD = '428' AND EFFV_START_DT <= CURRENT_DATE AND (EFFV_END_DT IS NULL OR EFFV_END_DT >= CURRENT_DATE);", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: List all the active enrollments ### Output: SELECT * from HIX.T_ENRT WHERE ENRT_STATUS_CD = '428' AND EFFV_START_DT <= CURRENT_DATE AND (EFFV_END_DT IS NULL OR EFFV_END_DT >= CURRENT_DATE);" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Show me the enrt_logical_id, enrt_id, enrt_type_cd, enrt_status_cd for the application_id '64827197391' and enrolled in health plan.", + "Output": "SELECT enrt_logical_id, enrt_id, enrt_type_cd, enrt_status_cd FROM HIX.T_ENRT WHERE APPLN_ID = '64827197391' AND enrt_type_cd = '2033'", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Show me the enrt_logical_id, enrt_id, enrt_type_cd, enrt_status_cd for the application_id '64827197391' and enrolled in health plan. ### Output: SELECT enrt_logical_id, enrt_id, enrt_type_cd, enrt_status_cd FROM HIX.T_ENRT WHERE APPLN_ID = '64827197391' AND enrt_type_cd = '2033'" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "How many enrollments have been disenrolled?", + "Output": "SELECT COUNT(*) from HIX.T_ENRT WHERE ENRT_STATUS_CD = '433';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: How many enrollments have been disenrolled? ### Output: SELECT COUNT(*) from HIX.T_ENRT WHERE ENRT_STATUS_CD = '433';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Retrieve the enrollment information for the plan with the highest premium.", + "Output": "SELECT * from HIX.T_ENRT WHERE PLAN_ENRT_PREM_AM = (SELECT MAX(PLAN_ENRT_PREM_AM) from HIX.T_ENRT);", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Retrieve the enrollment information for the plan with the highest premium. ### Output: SELECT * from HIX.T_ENRT WHERE PLAN_ENRT_PREM_AM = (SELECT MAX(PLAN_ENRT_PREM_AM) from HIX.T_ENRT);" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Find the enrollment with the earliest effective start date.", + "Output": "SELECT * from HIX.T_ENRT ORDER BY EFFV_START_DT ASC LIMIT 1;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Find the enrollment with the earliest effective start date. ### Output: SELECT * from HIX.T_ENRT ORDER BY EFFV_START_DT ASC LIMIT 1;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Retrieve the enrollment details for members who have adjusted maximum APTC amounts.", + "Output": "SELECT * from HIX.T_ENRT WHERE ADJSTD_MAX_APTC_AM IS NOT NULL;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Retrieve the enrollment details for members who have adjusted maximum APTC amounts. ### Output: SELECT * from HIX.T_ENRT WHERE ADJSTD_MAX_APTC_AM IS NOT NULL;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Calculate the average premium paid amount for enrollments with enrollment year 2023.", + "Output": "SELECT AVG(PREM_PAID_DT) from HIX.T_ENRT WHERE EXTRACT(YEAR FROM EFFV_START_DT) = 2023;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Calculate the average premium paid amount for enrollments with enrollment year 2023. ### Output: SELECT AVG(PREM_PAID_DT) from HIX.T_ENRT WHERE EXTRACT(YEAR FROM EFFV_START_DT) = 2023;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Get the enrollment IDs for enrollments where the maximum APTC amount exceeds the current maximum APTC amount.", + "Output": "SELECT ENRT_ID from HIX.T_ENRT WHERE MAX_APTC_AM > CR_MAX_APTC_AM;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Get the enrollment IDs for enrollments where the maximum APTC amount exceeds the current maximum APTC amount. ### Output: SELECT ENRT_ID from HIX.T_ENRT WHERE MAX_APTC_AM > CR_MAX_APTC_AM;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Find the enrollment ID and application ID for enrollments where the enrollment logical ID is null", + "Output": "SELECT ENRT_ID, APPLN_ID from HIX.T_ENRT WHERE ENRT_LOGICAL_ID IS NULL;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Find the enrollment ID and application ID for enrollments where the enrollment logical ID is null ### Output: SELECT ENRT_ID, APPLN_ID from HIX.T_ENRT WHERE ENRT_LOGICAL_ID IS NULL;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Calculate the total premium paid amount for enrollments in the year 2022.", + "Output": "SELECT SUM(PREM_PAID_DT) AS TotalPremiumPaidAmount from HIX.T_ENRT WHERE EXTRACT(YEAR FROM PREM_PAID_DT) = 2022;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Calculate the total premium paid amount for enrollments in the year 2022. ### Output: SELECT SUM(PREM_PAID_DT) AS TotalPremiumPaidAmount from HIX.T_ENRT WHERE EXTRACT(YEAR FROM PREM_PAID_DT) = 2022;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Show the enrollment ID and plan effective start date for enrollments with adjusted maximum APTC amount greater than $1000.", + "Output": "SELECT ENRT_ID, EFFV_START_DT from HIX.T_ENRT WHERE ADJSTD_MAX_APTC_AM > 1000;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Show the enrollment ID and plan effective start date for enrollments with adjusted maximum APTC amount greater than $1000. ### Output: SELECT ENRT_ID, EFFV_START_DT from HIX.T_ENRT WHERE ADJSTD_MAX_APTC_AM > 1000;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Retrieve the enrollment ID and plan enrollment date for the latest 3 enrollment.", + "Output": "SELECT ENRT_ID, PLAN_ENRT_DT from HIX.T_ENRT ORDER BY PLAN_ENRT_DT DESC LIMIT 3;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Retrieve the enrollment ID and plan enrollment date for the latest 3 enrollment. ### Output: SELECT ENRT_ID, PLAN_ENRT_DT from HIX.T_ENRT ORDER BY PLAN_ENRT_DT DESC LIMIT 3;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "Find the number of application ids for which change in enrollment has initiated", + "Output": "SELECT COUNT(*) from HIX.T_ENRT WHERE ENRT_STATUS_CD = '2340';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: Find the number of application ids for which change in enrollment has initiated ### Output: SELECT COUNT(*) from HIX.T_ENRT WHERE ENRT_STATUS_CD = '2340';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table.", + "Input": "How many enrollments have been terminated?", + "Output": "SELECT COUNT(*) from HIX.T_ENRT WHERE ENRT_STATUS_CD = '4133';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_ENRT contains columns like ENRT_ID, PLAN_ENRT_DT, ENRT_STATUS_CD, PLAN_DENRT_DT, DENRT_RSN_CD, CRTD_DT, CRTD_BY_NB, UPDTD_DT, UPDTD_BY_NB, VERS_NB, PLAN_ENRT_PREM_AM, EFFV_START_DT, EFFV_END_DT, DSPL_PLAN_ID, ENRT_TYPE_CD, ADJSTD_MAX_APTC_AM, APPLN_ID, CARR_POL_ID, PREM_PAID_DT, CARR_EFFCTN_RCVD_DT, CARR_TRMN_RCVD_DT, MAX_APTC_AM, CR_MAX_APTC_AM, CR_MAX_APTC_DT, ENRT_LOGICAL_ID, ENRT_IND_CD, CARR_MSG_STATUS_ID, ASSISTER_ID, CMS_MSG_ID, ENRT_CHNG_IND, ENRT_YEAR, ENRT_FLOW_IN, SKIP_SHOP_IN, EHB_PLAN_ENRT_PREM_AM, DENRT_APPLN_ID, DENRT_ENRT_EDI_FLOW_CD, PREM_PAID_TO_DT_END. ENRT_ID is the primary of T_ENRT table. ### Input: How many enrollments have been terminated? ### Output: SELECT COUNT(*) from HIX.T_ENRT WHERE ENRT_STATUS_CD = '4133';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Total no. of records where coverage start date is more than 01-01-2024 and Primary is in records.", + "Output": "SELECT COUNT(*) AS TotalPersons FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > '2024-01-01' AND PRIM_IN = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Total no. of records where coverage start date is more than 01-01-2024 and Primary is in records. ### Output: SELECT COUNT(*) AS TotalPersons FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > '2024-01-01' AND PRIM_IN = 'Y';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Those records where cov start date < cov end date and active member is present?", + "Output": "SELECT * FROM HIX.T_PRSN_ENRT WHERE COV_START_DT < COV_END_DT AND ACTIVE_IN = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Those records where cov start date < cov end date and active member is present? ### Output: SELECT * FROM HIX.T_PRSN_ENRT WHERE COV_START_DT < COV_END_DT AND ACTIVE_IN = 'Y';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "total no. of records where individual premium amount is greater than 0 and member is active?", + "Output": " SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE INDIV_PLAN_PREM_AM > 0 AND ACTIVE_IN = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: total no. of records where individual premium amount is greater than 0 and member is active? ### Output: SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE INDIV_PLAN_PREM_AM > 0 AND ACTIVE_IN = 'Y';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Total no. of records where person is marked for addition?", + "Output": "SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE PRSN_ENRT_STATUS_CD = '3206';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Total no. of records where person is marked for addition? ### Output: SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE PRSN_ENRT_STATUS_CD = '3206';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Total no. of records where person is marked for removal?", + "Output": "SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE PRSN_ENRT_STATUS_CD = '2341';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Total no. of records where person is marked for removal? ### Output: SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE PRSN_ENRT_STATUS_CD = '2341';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "cov start date of all the records where cost sharing reduction amount is not null and member is both subscriber and primary", + "Output": "SELECT COV_START_DT FROM HIX.T_PRSN_ENRT WHERE CSR_AM IS NOT NULL AND SUBSCBR_IN = 'Y' AND PRIM_IN = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: cov start date of all the records where cost sharing reduction amount is not null and member is both subscriber and primary ### Output: SELECT COV_START_DT FROM HIX.T_PRSN_ENRT WHERE CSR_AM IS NOT NULL AND SUBSCBR_IN = 'Y' AND PRIM_IN = 'Y';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Show all records where cov start date is not equal to premium start date?", + "Output": "SELECT * FROM HIX.T_PRSN_ENRT WHERE COV_START_DT <> PREM_START_DT;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Show all records where cov start date is not equal to premium start date? ### Output: SELECT * FROM HIX.T_PRSN_ENRT WHERE COV_START_DT <> PREM_START_DT;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where ACTIVE_IN is 'Y' and COVERED_CT_CATEGORY is not null.", + "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE ACTIVE_IN = 'Y' AND COVERED_CT_CATEGORY IS NOT NULL;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where ACTIVE_IN is 'Y' and COVERED_CT_CATEGORY is not null. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE ACTIVE_IN = 'Y' AND COVERED_CT_CATEGORY IS NOT NULL;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Retrieve PRSN_ENRT_ID and PRSN_MBRSH_ID for records where COV_START_DT is greater than '2023-01-01'.", + "Output": "SELECT PRSN_ENRT_ID, PRSN_MBRSH_ID FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > '2023-01-01';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Retrieve PRSN_ENRT_ID and PRSN_MBRSH_ID for records where COV_START_DT is greater than '2023-01-01'. ### Output: SELECT PRSN_ENRT_ID, PRSN_MBRSH_ID FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > '2023-01-01';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Show the PRSN_ENRT_ID and PRSN_MBRSH_ID for records where PRSN_ELGT_ID is null.", + "Output": "SELECT PRSN_ENRT_ID, PRSN_MBRSH_ID FROM HIX.T_PRSN_ENRT WHERE PRSN_ELGT_ID IS NULL;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Show the PRSN_ENRT_ID and PRSN_MBRSH_ID for records where PRSN_ELGT_ID is null. ### Output: SELECT PRSN_ENRT_ID, PRSN_MBRSH_ID FROM HIX.T_PRSN_ENRT WHERE PRSN_ELGT_ID IS NULL;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where MANUAL_UPDT_IN is NULL", + "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE MANUAL_UPDT_IN = NULL;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where MANUAL_UPDT_IN is NULL ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE MANUAL_UPDT_IN = NULL;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Retrieve PRSN_ENRT_ID and COV_START_DT for records where COV_START_DT and PREV_COV_START_DT are different.", + "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM T_PRSN_ENRT WHERE COV_START_DT <> PREV_COV_START_DT; ", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Retrieve PRSN_ENRT_ID and COV_START_DT for records where COV_START_DT and PREV_COV_START_DT are different. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM T_PRSN_ENRT WHERE COV_START_DT <> PREV_COV_START_DT; " + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Find the total count of records where CURR_EMS_COV_GRP_CD and OLD_EMS_COV_GRP_CD are different.", + "Output": "SELECT COUNT(*) AS RecordCount FROM T_PRSN_ENRT WHERE CURR_EMS_COV_GRP_CD <> OLD_EMS_COV_GRP_CD; ", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the total count of records where CURR_EMS_COV_GRP_CD and OLD_EMS_COV_GRP_CD are different. ### Output: SELECT COUNT(*) AS RecordCount FROM T_PRSN_ENRT WHERE CURR_EMS_COV_GRP_CD <> OLD_EMS_COV_GRP_CD; " + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Retrieve PRSN_ENRT_ID and COV_START_DT for records where RETRO_IN is N.", + "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM T_PRSN_ENRT WHERE RETRO_IN = 'N'; ", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Retrieve PRSN_ENRT_ID and COV_START_DT for records where RETRO_IN is N. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM T_PRSN_ENRT WHERE RETRO_IN = 'N'; " + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Show the PRSN_ENRT_ID for records where EDI_TSMT_IN is 'Y'.", + "Output": " SELECT PRSN_ENRT_ID FROM HIX.T_PRSN_ENRT WHERE EDI_TSMT_IN = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Show the PRSN_ENRT_ID for records where EDI_TSMT_IN is 'Y'. ### Output: SELECT PRSN_ENRT_ID FROM HIX.T_PRSN_ENRT WHERE EDI_TSMT_IN = 'Y';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where PRVDR_ID is not null ", + "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE PRVDR_ID IS NOT NULL; ", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where PRVDR_ID is not null ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE PRVDR_ID IS NOT NULL; " + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where PRVDR_ID is null and CVD_CT_PLAN is 'Yes'.", + "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE PRVDR_ID IS NULL AND CVD_CT_PLAN = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where PRVDR_ID is null and CVD_CT_PLAN is 'Yes'. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE PRVDR_ID IS NULL AND CVD_CT_PLAN = 'Y';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Retrieve PRSN_ENRT_ID and COV_START_DT for records where EXMPT_CERTIF_ID is null and EHB_INDIV_PLAN_PREM_AM is greater than 0.", + "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE EXMPT_CERTIF_ID IS NULL AND EHB_INDIV_PLAN_PREM_AM > 0;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Retrieve PRSN_ENRT_ID and COV_START_DT for records where EXMPT_CERTIF_ID is null and EHB_INDIV_PLAN_PREM_AM is greater than 0. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE EXMPT_CERTIF_ID IS NULL AND EHB_INDIV_PLAN_PREM_AM > 0;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Show the PRSN_ENRT_ID for records where COV_START_DT is greater than ORIGL_COV_END_DT.", + "Output": "SELECT PRSN_ENRT_ID FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > ORIGL_COV_END_DT;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Show the PRSN_ENRT_ID for records where COV_START_DT is greater than ORIGL_COV_END_DT. ### Output: SELECT PRSN_ENRT_ID FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > ORIGL_COV_END_DT;" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where COVERED_CT_CATEGORY is for Covered CT Adults.", + "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE COVERED_CT_CATEGORY = '9829';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where COVERED_CT_CATEGORY is for Covered CT Adults. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE COVERED_CT_CATEGORY = '9829';" + }, + { + "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.", + "Input": "count all records where COVERED_CT_CATEGORY is Covered CT Parents/Caretakers.", + "Output": "SELECT count(*) FROM HIX.T_PRSN_ENRT WHERE COVERED_CT_CATEGORY = '9828';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: count all records where COVERED_CT_CATEGORY is Covered CT Parents/Caretakers. ### Output: SELECT count(*) FROM HIX.T_PRSN_ENRT WHERE COVERED_CT_CATEGORY = '9828';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve the total number of records in the T_PRSN_MBRSH table.", + "Output": "SELECT COUNT(*) FROM T_PRSN_MBRSH;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve the total number of records in the T_PRSN_MBRSH table. ###Output: SELECT COUNT(*) FROM T_PRSN_MBRSH;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the names of all the columns in the T_PRSN_MBRSH table.", + "Output": "SHOW COLUMNS FROM T_PRSN_MBRSH;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the names of all the columns in the T_PRSN_MBRSH table. ###Output: SHOW COLUMNS FROM T_PRSN_MBRSH;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "List all unique PRSN_ID values from the T_PRSN_MBRSH table.", + "Output": "SELECT DISTINCT PRSN_ID FROM T_PRSN_MBRSH;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: List all unique PRSN_ID values from the T_PRSN_MBRSH table. ###Output: SELECT DISTINCT PRSN_ID FROM T_PRSN_MBRSH;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve the PRSN_MBRSH_ID of the PRSN with the highest SELECTED_COV_END_DT_DNTL value.", + "Output": "SELECT PRSN_MBRSH_ID FROM T_PRSN_MBRSH ORDER BY SELECTED_COV_END_DT_DNTL DESC LIMIT 1;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve the PRSN_MBRSH_ID of the PRSN with the highest SELECTED_COV_END_DT_DNTL value. ###Output: SELECT PRSN_MBRSH_ID FROM T_PRSN_MBRSH ORDER BY SELECTED_COV_END_DT_DNTL DESC LIMIT 1;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the PRSN_ID with the most recent UPDTD_DT.", + "Output": "SELECT PRSN_ID FROM T_PRSN_MBRSH ORDER BY UPDTD_DT DESC LIMIT 1;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the PRSN_ID with the most recent UPDTD_DT. ###Output: SELECT PRSN_ID FROM T_PRSN_MBRSH ORDER BY UPDTD_DT DESC LIMIT 1;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show the PRSN_ID and CRTD_DT of PRSNs created before '2023-01-01'.", + "Output": "SELECT PRSN_ID, CRTD_DT FROM T_PRSN_MBRSH WHERE CRTD_DT < '2023-01-01';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show the PRSN_ID and CRTD_DT of PRSNs created before '2023-01-01'. ###Output: SELECT PRSN_ID, CRTD_DT FROM T_PRSN_MBRSH WHERE CRTD_DT < '2023-01-01';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Count the number of distinct APPLN_ID values in the T_PRSN_MBRSH table.", + "Output": "SELECT COUNT(DISTINCT APPLN_ID) FROM T_PRSN_MBRSH;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Count the number of distinct APPLN_ID values in the T_PRSN_MBRSH table. ###Output: SELECT COUNT(DISTINCT APPLN_ID) FROM T_PRSN_MBRSH;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "List the PRSN_MBRSH_ID and IS_PRIM_APPL_IN values for records where IS_PRIM_APPL_IN is 'Y'.", + "Output": "SELECT PRSN_MBRSH_ID, IS_PRIM_APPL_IN FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_IN = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: List the PRSN_MBRSH_ID and IS_PRIM_APPL_IN values for records where IS_PRIM_APPL_IN is 'Y'. ###Output: SELECT PRSN_MBRSH_ID, IS_PRIM_APPL_IN FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_IN = 'Y';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Calculate the average MBRS_ORD for all records in the T_PRSN_MBRSH table.", + "Output": "SELECT AVG(MBRS_ORD) AS Average_MBRS_ORD FROM T_PRSN_MBRSH;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Calculate the average MBRS_ORD for all records in the T_PRSN_MBRSH table. ###Output: SELECT AVG(MBRS_ORD) AS Average_MBRS_ORD FROM T_PRSN_MBRSH;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve the PRSN_ID with the highest VERS_NB.", + "Output": "SELECT PRSN_ID FROM T_PRSN_MBRSH ORDER BY VERS_NB DESC LIMIT 1;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve the PRSN_ID with the highest VERS_NB. ###Output: SELECT PRSN_ID FROM T_PRSN_MBRSH ORDER BY VERS_NB DESC LIMIT 1;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the PRSN_MBRSH_ID and CRTD_BY_NB for records where CRTD_BY_NB equals UPDTD_BY_NB.", + "Output": "SELECT PRSN_MBRSH_ID, CRTD_BY_NB FROM T_PRSN_MBRSH WHERE CRTD_BY_NB = UPDTD_BY_NB;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the PRSN_MBRSH_ID and CRTD_BY_NB for records where CRTD_BY_NB equals UPDTD_BY_NB. ###Output: SELECT PRSN_MBRSH_ID, CRTD_BY_NB FROM T_PRSN_MBRSH WHERE CRTD_BY_NB = UPDTD_BY_NB;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Count the number of records where DEL_IN is 'N'.", + "Output": "SELECT COUNT(*) FROM T_PRSN_MBRSH WHERE DEL_IN = 'N';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Count the number of records where DEL_IN is 'N'. ###Output: SELECT COUNT(*) FROM T_PRSN_MBRSH WHERE DEL_IN = 'N';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "List the PRSN_MBRSH_ID and EMPI_CLR_IND for records where EMPI_CLR_IND is 'Y'.", + "Output": "SELECT PRSN_MBRSH_ID, EMPI_CLR_IND FROM T_PRSN_MBRSH WHERE EMPI_CLR_IND = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: List the PRSN_MBRSH_ID and EMPI_CLR_IND for records where EMPI_CLR_IND is 'Y'. ###Output: SELECT PRSN_MBRSH_ID, EMPI_CLR_IND FROM T_PRSN_MBRSH WHERE EMPI_CLR_IND = 'Y';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Calculate the maximum and minimum SELECTED_COV_END_DT values in the T_PRSN_MBRSH table.", + "Output": "SELECT MAX(SELECTED_COV_END_DT) AS Maximum_Select_Cov_End_DT, MIN(SELECTED_COV_END_DT) AS Minimum_Select_Cov_End_DT FROM T_PRSN_MBRSH;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Calculate the maximum and minimum SELECTED_COV_END_DT values in the T_PRSN_MBRSH table. ###Output: SELECT MAX(SELECTED_COV_END_DT) AS Maximum_Select_Cov_End_DT, MIN(SELECTED_COV_END_DT) AS Minimum_Select_Cov_End_DT FROM T_PRSN_MBRSH;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve the PRSN_ID of PRSNs whose PRIOR_ID is not null.", + "Output": "SELECT PRSN_ID FROM T_PRSN_MBRSH WHERE PRIOR_ID IS NOT NULL;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve the PRSN_ID of PRSNs whose PRIOR_ID is not null. ###Output: SELECT PRSN_ID FROM T_PRSN_MBRSH WHERE PRIOR_ID IS NOT NULL;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show the PRSN_ID and NBW_BATCH_PRCSD values for records where NBW_BATCH_PRCSD is 'Y' and LAST_YEAR_SEP_IN is 'N'.", + "Output": "SELECT PRSN_ID, NBW_BATCH_PRCSD FROM T_PRSN_MBRSH WHERE NBW_BATCH_PRCSD = 'Y' AND LAST_YEAR_SEP_IN = 'N';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show the PRSN_ID and NBW_BATCH_PRCSD values for records where NBW_BATCH_PRCSD is 'Y' and LAST_YEAR_SEP_IN is 'N'. ###Output: SELECT PRSN_ID, NBW_BATCH_PRCSD FROM T_PRSN_MBRSH WHERE NBW_BATCH_PRCSD = 'Y' AND LAST_YEAR_SEP_IN = 'N';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the PRSN_MBRSH_ID with the earliest CRTD_DT.", + "Output": "SELECT PRSN_MBRSH_ID FROM T_PRSN_MBRSH ORDER BY CRTD_DT ASC LIMIT 1;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the PRSN_MBRSH_ID with the earliest CRTD_DT. ###Output: SELECT PRSN_MBRSH_ID FROM T_PRSN_MBRSH ORDER BY CRTD_DT ASC LIMIT 1;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Calculate the sum of MBRS_ORD for all records in the T_PRSN_MBRSH table.", + "Output": "SELECT SUM(MBRS_ORD) AS Total_MBRS_ORD FROM T_PRSN_MBRSH;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Calculate the sum of MBRS_ORD for all records in the T_PRSN_MBRSH table. ###Output: SELECT SUM(MBRS_ORD) AS Total_MBRS_ORD FROM T_PRSN_MBRSH;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "List the PRSN_ID and IS_PRIM_APPL_RMVD for records where IS_PRIM_APPL_CHNGD is 'Y'.", + "Output": "SELECT PRSN_ID, IS_PRIM_APPL_RMVD FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_CHNGD = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: List the PRSN_ID and IS_PRIM_APPL_RMVD for records where IS_PRIM_APPL_CHNGD is 'Y'. ###Output: SELECT PRSN_ID, IS_PRIM_APPL_RMVD FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_CHNGD = 'Y';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show the PRSN_MBRSH_ID of PRSNs whose SELECTED_COV_END_DT_DNTL is null.", + "Output": "SELECT PRSN_MBRSH_ID FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT_DNTL IS NULL;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show the PRSN_MBRSH_ID of PRSNs whose SELECTED_COV_END_DT_DNTL is null. ###Output: SELECT PRSN_MBRSH_ID FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT_DNTL IS NULL;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve the PRSN_ID of PRSNs whose IS_UNIQUE_SSN_CHECK_PASS is 'N'.", + "Output": "SELECT PRSN_ID FROM T_PRSN_MBRSH WHERE IS_UNIQUE_SSN_CHECK_PASS = 'N';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve the PRSN_ID of PRSNs whose IS_UNIQUE_SSN_CHECK_PASS is 'N'. ###Output: SELECT PRSN_ID FROM T_PRSN_MBRSH WHERE IS_UNIQUE_SSN_CHECK_PASS = 'N';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Count the number of records where FTR_SELF_ATTSTN_INDCTR is 'Y' and MBRS_ORD is greater than 5.", + "Output": "SELECT COUNT(*) FROM T_PRSN_MBRSH WHERE FTR_SELF_ATTSTN_INDCTR = 'Y' AND MBRS_ORD > 5;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Count the number of records where FTR_SELF_ATTSTN_INDCTR is 'Y' and MBRS_ORD is greater than 5. ###Output: SELECT COUNT(*) FROM T_PRSN_MBRSH WHERE FTR_SELF_ATTSTN_INDCTR = 'Y' AND MBRS_ORD > 5;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the PRSN_MBRSH_ID and CRTD_BY_NB for records where IS_PRIM_APPL_IN is 'N' and CRTD_DT is after '2022-12-31'.", + "Output": "SELECT PRSN_MBRSH_ID, CRTD_BY_NB FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_IN = 'N' AND CRTD_DT > '2022-12-31';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the PRSN_MBRSH_ID and CRTD_BY_NB for records where IS_PRIM_APPL_IN is 'N' and CRTD_DT is after '2022-12-31'. ###Output: SELECT PRSN_MBRSH_ID, CRTD_BY_NB FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_IN = 'N' AND CRTD_DT > '2022-12-31';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve the PRSN_ID and CRTD_DT of PRSNs whose CRTD_DT is the same as UPDTD_DT.", + "Output": "SELECT PRSN_ID, CRTD_DT FROM T_PRSN_MBRSH WHERE CRTD_DT = UPDTD_DT;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve the PRSN_ID and CRTD_DT of PRSNs whose CRTD_DT is the same as UPDTD_DT. ###Output: SELECT PRSN_ID, CRTD_DT FROM T_PRSN_MBRSH WHERE CRTD_DT = UPDTD_DT;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "List the PRSN_MBRSH_ID and IS_PRIM_APPL_CHNGD for records where SELECTED_COV_END_DT is before '2023-01-01'.", + "Output": "SELECT PRSN_MBRSH_ID, IS_PRIM_APPL_CHNGD FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT < '2023-01-01';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: List the PRSN_MBRSH_ID and IS_PRIM_APPL_CHNGD for records where SELECTED_COV_END_DT is before '2023-01-01'. ###Output: SELECT PRSN_MBRSH_ID, IS_PRIM_APPL_CHNGD FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT < '2023-01-01';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show the PRSN_ID of PRSNs with the highest PRIOR_ID.", + "Output": "SELECT PRSN_ID FROM T_PRSN_MBRSH ORDER BY PRIOR_ID DESC LIMIT 1;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show the PRSN_ID of PRSNs with the highest PRIOR_ID. ###Output: SELECT PRSN_ID FROM T_PRSN_MBRSH ORDER BY PRIOR_ID DESC LIMIT 1;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the PRSN_MBRSH_ID and LAST_YEAR_SEP_IN for records where NBW_BATCH_PRCSD is 'N'.", + "Output": "SELECT PRSN_MBRSH_ID, LAST_YEAR_SEP_IN FROM T_PRSN_MBRSH WHERE NBW_BATCH_PRCSD = 'N';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the PRSN_MBRSH_ID and LAST_YEAR_SEP_IN for records where NBW_BATCH_PRCSD is 'N'. ###Output: SELECT PRSN_MBRSH_ID, LAST_YEAR_SEP_IN FROM T_PRSN_MBRSH WHERE NBW_BATCH_PRCSD = 'N';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Count the number of records where EMPI_CLR_IND is 'Y' and IS_UNIQUE_SSN_CHECK_PASS is 'N'.", + "Output": "SELECT COUNT(*) FROM T_PRSN_MBRSH WHERE EMPI_CLR_IND = 'Y' AND IS_UNIQUE_SSN_CHECK_PASS = 'N';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Count the number of records where EMPI_CLR_IND is 'Y' and IS_UNIQUE_SSN_CHECK_PASS is 'N'. ###Output: SELECT COUNT(*) FROM T_PRSN_MBRSH WHERE EMPI_CLR_IND = 'Y' AND IS_UNIQUE_SSN_CHECK_PASS = 'N';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Calculate the sum of MBRS_ORD for PRSNs created after '2022-06-30'.", + "Output": "SELECT SUM(MBRS_ORD) AS Total_MBRS_ORD FROM T_PRSN_MBRSH WHERE CRTD_DT > '2022-06-30';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Calculate the sum of MBRS_ORD for PRSNs created after '2022-06-30'. ###Output: SELECT SUM(MBRS_ORD) AS Total_MBRS_ORD FROM T_PRSN_MBRSH WHERE CRTD_DT > '2022-06-30';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve the PRSN_ID and CRTD_DT of PRSNs created in the year 2023.", + "Output": "SELECT PRSN_ID, CRTD_DT FROM T_PRSN_MBRSH WHERE YEAR(CRTD_DT) = 2023;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve the PRSN_ID and CRTD_DT of PRSNs created in the year 2023. ###Output: SELECT PRSN_ID, CRTD_DT FROM T_PRSN_MBRSH WHERE YEAR(CRTD_DT) = 2023;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "List the PRSN_MBRSH_ID and IS_PRIM_APPL_RMVD for records where IS_PRIM_APPL_IN is 'Y' and IS_PRIM_APPL_CHNGD is 'N'.", + "Output": "SELECT PRSN_MBRSH_ID, IS_PRIM_APPL_RMVD FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_IN = 'Y' AND IS_PRIM_APPL_CHNGD = 'N';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: List the PRSN_MBRSH_ID and IS_PRIM_APPL_RMVD for records where IS_PRIM_APPL_IN is 'Y' and IS_PRIM_APPL_CHNGD is 'N'. ###Output: SELECT PRSN_MBRSH_ID, IS_PRIM_APPL_RMVD FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_IN = 'Y' AND IS_PRIM_APPL_CHNGD = 'N';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show the PRSN_ID of PRSNs with the earliest SELECTED_COV_END_DT.", + "Output": "SELECT PRSN_ID FROM T_PRSN_MBRSH ORDER BY SELECTED_COV_END_DT ASC LIMIT 1;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show the PRSN_ID of PRSNs with the earliest SELECTED_COV_END_DT. ###Output: SELECT PRSN_ID FROM T_PRSN_MBRSH ORDER BY SELECTED_COV_END_DT ASC LIMIT 1;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the PRSN_MBRSH_ID and DEL_IN for records where NBW_BATCH_PRCSD is 'Y' and FTR_SELF_ATTSTN_INDCTR is 'N'.", + "Output": "SELECT PRSN_MBRSH_ID, DEL_IN FROM T_PRSN_MBRSH WHERE NBW_BATCH_PRCSD = 'Y' AND FTR_SELF_ATTSTN_INDCTR = 'N';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the PRSN_MBRSH_ID and DEL_IN for records where NBW_BATCH_PRCSD is 'Y' and FTR_SELF_ATTSTN_INDCTR is 'N'. ###Output: SELECT PRSN_MBRSH_ID, DEL_IN FROM T_PRSN_MBRSH WHERE NBW_BATCH_PRCSD = 'Y' AND FTR_SELF_ATTSTN_INDCTR = 'N';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve the PRSN_ID and CRTD_DT of PRSNs whose UPDTD_DT is in the future.", + "Output": "SELECT PRSN_ID, CRTD_DT FROM T_PRSN_MBRSH WHERE UPDTD_DT > NOW();", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve the PRSN_ID and CRTD_DT of PRSNs whose UPDTD_DT is in the future. ###Output: SELECT PRSN_ID, CRTD_DT FROM T_PRSN_MBRSH WHERE UPDTD_DT > NOW();" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "List the PRSN_MBRSH_ID and CRTD_BY_NB for records where CRTD_DT is after '2023-12-31'.", + "Output": "SELECT PRSN_MBRSH_ID, CRTD_BY_NB FROM T_PRSN_MBRSH WHERE CRTD_DT > '2023-12-31';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: List the PRSN_MBRSH_ID and CRTD_BY_NB for records where CRTD_DT is after '2023-12-31'. ###Output: SELECT PRSN_MBRSH_ID, CRTD_BY_NB FROM T_PRSN_MBRSH WHERE CRTD_DT > '2023-12-31';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show the PRSN_ID of PRSNs whose DEL_IN is 'Y' and IS_UNIQUE_SSN_CHECK_PASS is 'Y'.", + "Output": "SELECT PRSN_ID FROM T_PRSN_MBRSH WHERE DEL_IN = 'Y' AND IS_UNIQUE_SSN_CHECK_PASS = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show the PRSN_ID of PRSNs whose DEL_IN is 'Y' and IS_UNIQUE_SSN_CHECK_PASS is 'Y'. ###Output: SELECT PRSN_ID FROM T_PRSN_MBRSH WHERE DEL_IN = 'Y' AND IS_UNIQUE_SSN_CHECK_PASS = 'Y';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the PRSN_MBRSH_ID and SELECTED_COV_END_DT for records where IS_PRIM_APPL_RMVD is 'Y'.", + "Output": "SELECT PRSN_MBRSH_ID, SELECTED_COV_END_DT FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_RMVD = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the PRSN_MBRSH_ID and SELECTED_COV_END_DT for records where IS_PRIM_APPL_RMVD is 'Y'. ###Output: SELECT PRSN_MBRSH_ID, SELECTED_COV_END_DT FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_RMVD = 'Y';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show the enrollment details for a specific person.", + "Output": "SELECT * FROM T_PRSN_MBRSH WHERE PRSN_ID = 'YourSpecificPersonID';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show the enrollment details for a specific person. ###Output: SELECT * FROM T_PRSN_MBRSH WHERE PRSN_ID = 'YourSpecificPersonID';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "What is the latest update date for each membership?", + "Output": "SELECT PRSN_ID, MAX(UPDTD_DT) AS Latest_Update_Date FROM T_PRSN_MBRSH GROUP BY PRSN_ID;", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: What is the latest update date for each membership? ###Output: SELECT PRSN_ID, MAX(UPDTD_DT) AS Latest_Update_Date FROM T_PRSN_MBRSH GROUP BY PRSN_ID;" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Display the names of users with a unique SSN check passed", + "Output": "SELECT U.User_Name FROM T_USERS U INNER JOIN T_PRSN_MBRSH P ON U.PRSN_ID = P.PRSN_ID WHERE P.IS_UNIQUE_SSN_CHECK_PASS = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Display the names of users with a unique SSN check passed ###Output: SELECT U.User_Name FROM T_USERS U INNER JOIN T_PRSN_MBRSH P ON U.PRSN_ID = P.PRSN_ID WHERE P.IS_UNIQUE_SSN_CHECK_PASS = 'Y';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show the start and end dates for selected coverage for a specific person.", + "Output": "SELECT PRSN_ID, SELECTED_COV_START_DT, SELECTED_COV_END_DT FROM T_PRSN_MBRSH WHERE PRSN_ID = 'YourSpecificPersonID';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show the start and end dates for selected coverage for a specific person. ###Output: SELECT PRSN_ID, SELECTED_COV_START_DT, SELECTED_COV_END_DT FROM T_PRSN_MBRSH WHERE PRSN_ID = 'YourSpecificPersonID';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find the users whose primary application was removed.", + "Output": "SELECT PRSN_ID FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_RMVD = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find the users whose primary application was removed. ###Output: SELECT PRSN_ID FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_RMVD = 'Y';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Provide details on users whose primary application was changed.", + "Output": "SELECT * FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_CHNGD = 'Y';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Provide details on users whose primary application was changed. ###Output: SELECT * FROM T_PRSN_MBRSH WHERE IS_PRIM_APPL_CHNGD = 'Y';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show users with an empty selected coverage end date.", + "Output": "SELECT * FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT IS NULL OR SELECTED_COV_END_DT = '';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show users with an empty selected coverage end date. ###Output: SELECT * FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT IS NULL OR SELECTED_COV_END_DT = '';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "How many users have undergone a dental selected coverage end date?", + "Output": "SELECT COUNT(*) FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT_DNTL = 'Dental';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: How many users have undergone a dental selected coverage end date? ###Output: SELECT COUNT(*) FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT_DNTL = 'Dental';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "List persons with an application created by a specific user.", + "Output": "SELECT P.* FROM T_PRSN_MBRSH P JOIN T_APPLICATIONS A ON P.APPLN_ID = A.APPLN_ID WHERE A.CREATED_BY_NB = 'SpecificUser';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: List persons with an application created by a specific user. ###Output: SELECT P.* FROM T_PRSN_MBRSH P JOIN T_APPLICATIONS A ON P.APPLN_ID = A.APPLN_ID WHERE A.CREATED_BY_NB = 'SpecificUser';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Show selected coverage start and end dates for a specific person.", + "Output": "SELECT PRSN_ID, SELECTED_COV_START_DT, SELECTED_COV_END_DT FROM T_PRSN_MBRSH WHERE PRSN_ID = 'YourSpecificPersonID';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Show selected coverage start and end dates for a specific person. ###Output: SELECT PRSN_ID, SELECTED_COV_START_DT, SELECTED_COV_END_DT FROM T_PRSN_MBRSH WHERE PRSN_ID = 'YourSpecificPersonID';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Retrieve employees with an empty selected coverage end date and no attestation.", + "Output": "SELECT * FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT IS NULL OR SELECTED_COV_END_DT = '' AND FTR_SELF_ATTSTN_INDCTR = 'N';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Retrieve employees with an empty selected coverage end date and no attestation. ###Output: SELECT * FROM T_PRSN_MBRSH WHERE SELECTED_COV_END_DT IS NULL OR SELECTED_COV_END_DT = '' AND FTR_SELF_ATTSTN_INDCTR = 'N';" + }, + { + "Instruction": "HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key.", + "Input": "Find employees with a specific prior ID and a selected coverage start date.", + "Output": "SELECT * FROM T_PRSN_MBRSH WHERE PRIOR_ID = 'YourSpecificPriorID' AND SELECTED_COV_START_DT = 'YourSpecificStartDate';", + "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. Instruction: HIX Schema contains tables such as T_ENRT, T_PRSN_ENRT , T_PRSN_MBRSH.\nTable T_PRSN_MRSH has columns such as\nPRSN_MBRSH_ID, APPLN_ID, PRSN_ID, CRTD_BY_NB, CRTD_DT, UPDTD_BY_NB, UPDTD_DT, VERS_NB, NEED_COV_IN, IS_PRIM_APPL_IN, MBRS_ORD, DEL_IN,\nPRIOR_ID, EMPI_CLR_IND, IS_UNIQUE_SSN_CHECK_PASS,\nFTR_SELF_ATTSTN_INDCTR, NBW_BATCH_PRCSD, LAST_YEAR_SEP_IN, SELECTED_COV_END_DT, IS_PRIM_APPL_RMVD, IS_PRIM_APPL_CHNGD, SELECTED_COV_END_DT_DNTL.\nPRSN_MBRSH_ID is the primary key. ###Input: Find employees with a specific prior ID and a selected coverage start date. ###Output: SELECT * FROM T_PRSN_MBRSH WHERE PRIOR_ID = 'YourSpecificPriorID' AND SELECTED_COV_START_DT = 'YourSpecificStartDate';" + } + ] \ No newline at end of file