Input
stringlengths
20
214
Text
stringlengths
893
1.2k
Instruction
stringclasses
1 value
Output
stringlengths
25
230
Group enrollments by the open enrollment indicator and calculate the average plan enrollment premium amount for each open enrollment status.
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, ...
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_...
SELECT ENRT_IND_CD, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD;
Group enrollments by the year and find the minimum plan disenrollment date for each year.
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, ...
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_...
SELECT ENRT_YEAR, MIN(PLAN_DENRT_DT) FROM HIX.T_ENRT GROUP BY ENRT_YEAR;
Group enrollments by the enrollment type code and calculate the maximum plan enrollment after APTC amount for each enrollment type.
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, ...
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_...
SELECT ENRT_TYPE_CD, MAX(PLAN_ENRT_AFTER_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD;
Group enrollments by the enrollment flow indicator and count the number of enrollments in each flow.
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, ...
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_...
SELECT ENRT_FLOW_IN, COUNT(*) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN;
Group enrollments by the open enrollment indicator and calculate the total advanced premium tax credit amount for each open enrollment status.
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, ...
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_...
SELECT ENRT_IND_CD, SUM(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD;
Group enrollments by the year and calculate the average plan disenrollment date for each year.
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, ...
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_...
SELECT ENRT_YEAR, AVG(PLAN_DENRT_DT) FROM HIX.T_ENRT GROUP BY ENRT_YEAR;
Group enrollments by the enrollment type code and find the minimum plan enrollment date for each enrollment type.
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, ...
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_...
SELECT ENRT_TYPE_CD, MIN(PLAN_ENRT_DT) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD;
Group enrollments by the enrollment flow indicator and calculate the maximum premium paid date for each flow.
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, ...
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_...
SELECT ENRT_FLOW_IN, MAX(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN;
Group enrollments by the open enrollment indicator and count the number of enrollments in each open enrollment status.
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, ...
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_...
SELECT ENRT_IND_CD, COUNT(*) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD;
Group enrollments by the year and find the maximum plan enrollment after APTC amount for each year.
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, ...
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_...
SELECT ENRT_YEAR, MAX(PLAN_ENRT_AFTER_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_YEAR;
Group enrollments by the enrollment type code and calculate the total change reporting maximum APTC amount for each enrollment type.
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, ...
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_...
SELECT ENRT_TYPE_CD, SUM(CR_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD;
Group enrollments by the enrollment flow indicator and find the minimum premium paid date for each flow.
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, ...
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_...
SELECT ENRT_FLOW_IN, MIN(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN;
Group enrollments by the open enrollment indicator and calculate the average premium paid date for each open enrollment status.
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, ...
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_...
SELECT ENRT_IND_CD, AVG(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD;
Group enrollments by the year and count the number of enrollments in each year.
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, ...
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_...
SELECT ENRT_YEAR, COUNT(*) FROM HIX.T_ENRT GROUP BY ENRT_YEAR;
Group enrollments by the enrollment type code and find the maximum advanced premium tax credit amount for each enrollment type.
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, ...
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_...
SELECT ENRT_TYPE_CD, MAX(MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD;
Group enrollments by the enrollment flow indicator and calculate the total premium paid date for each flow.
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, ...
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_...
SELECT ENRT_FLOW_IN, SUM(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN;
Group enrollments by the open enrollment indicator and find the minimum advanced premium tax credit amount for each open enrollment status.
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, ...
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_...
SELECT ENRT_IND_CD, MIN(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD;
Group enrollments by the year and calculate the average advanced premium tax credit amount for each year.
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, ...
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_...
SELECT ENRT_YEAR, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_YEAR;
Group enrollments by the enrollment type code and find the maximum premium paid date for each enrollment type.
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, ...
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_...
SELECT ENRT_TYPE_CD, MAX(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD;
Group enrollments by the enrollment flow indicator and calculate the total advanced premium tax credit amount for each flow.
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, ...
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_...
SELECT ENRT_FLOW_IN, SUM(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN;
Group enrollments by enrollment status and find the statuses with more than 500 enrollments.
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, ...
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_...
SELECT ENRT_STATUS_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_STATUS_CD HAVING COUNT() > 500;
Group enrollments by year and calculate the average plan enrollment premium amount for years with an average premium greater than $1,000.
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, ...
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_...
SELECT ENRT_YEAR, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING AVG(PLAN_ENRT_PREM_AM) > 1000;
Group enrollments by enrollment type code and find the types with a minimum adjusted maximum APTC amount exceeding $500.
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, ...
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_...
SELECT ENRT_TYPE_CD, MIN(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING MIN(ADJSTD_MAX_APTC_AM) > 500;
Group enrollments by the enrollment flow indicator and calculate the total plan enrollment after APTC amount for flows with a total amount greater than $5,000.
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, ...
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_...
SELECT ENRT_FLOW_IN, SUM(PLAN_ENRT_AFTER_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN HAVING SUM(PLAN_ENRT_AFTER_APTC_AM) > 5000;
Group enrollments by the open enrollment indicator and find the open enrollment statuses with a maximum advanced premium tax credit amount exceeding $1,000.
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, ...
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_...
SELECT ENRT_IND_CD, MAX(MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING MAX(MAX_APTC_AM) > 1000;
Group enrollments by year and count the enrollments in years with more than 1,000 enrollments.
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, ...
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_...
SELECT ENRT_YEAR, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING COUNT() > 1000;
Group enrollments by enrollment type code and calculate the average premium paid date for types with an average date greater than '2023-06-30'.
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, ...
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_...
SELECT ENRT_TYPE_CD, AVG(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING AVG(PREM_PAID_DT) > '2023-06-30';
Group enrollments by the open enrollment indicator and find the open enrollment statuses with more than 2,000 enrollments.
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, ...
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_...
SELECT ENRT_IND_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING COUNT() > 2000;
Group enrollments by year and calculate the total change reporting maximum APTC amount for years with a total amount exceeding $2,000.
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, ...
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_...
SELECT ENRT_YEAR, SUM(CR_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING SUM(CR_MAX_APTC_AM) > 2000;
Group enrollments by the distinct enrollment flow indicator and find the flows with a maximum plan enrollment premium amount greater than $500.
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, ...
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_...
SELECT ENRT_FLOW_IN, MAX(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN HAVING MAX(PLAN_ENRT_PREM_AM) > 500;
Group enrollments by the open enrollment indicator and calculate the average advanced premium tax credit amount for open enrollment statuses with an average amount greater than $1,500.
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, ...
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_...
SELECT ENRT_IND_CD, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING AVG(ADJSTD_MAX_APTC_AM) > 1500;
Group enrollments by year and find the years with more than 1,500 enrollments.
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, ...
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_...
SELECT ENRT_YEAR, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING COUNT() > 1500;
Group enrollments by the enrollment type code and calculate the total premium paid date for types with a total date later than '2023-12-31'.
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, ...
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_...
SELECT ENRT_TYPE_CD, SUM(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING SUM(PREM_PAID_DT) > '2023-12-31';
Group enrollments by the open enrollment indicator and find the open enrollment statuses with a maximum premium paid date later than '2023-09-30'.
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, ...
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_...
SELECT ENRT_IND_CD, MAX(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING MAX(PREM_PAID_DT) > '2023-09-30';
Group enrollments by year and count the enrollments in years with more than 2,000 enrollments.
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, ...
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_...
SELECT ENRT_YEAR, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING COUNT() > 2000;
Group enrollments by the enrollment type code and calculate the average advanced premium tax credit amount for types with an average amount greater than $2,000.
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, ...
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_...
SELECT ENRT_TYPE_CD, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING AVG(ADJSTD_MAX_APTC_AM) > 2000;
Group enrollments by the enrollment flow indicator and find the flows with a minimum plan enrollment premium amount greater than $1,000.
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, ...
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_...
SELECT ENRT_FLOW_IN, MIN(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN HAVING MIN(PLAN_ENRT_PREM_AM) > 1000;
Group enrollments by the open enrollment indicator and calculate the total advanced premium tax credit amount for open enrollment statuses with a total amount exceeding $2,000.
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, ...
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_...
SELECT ENRT_IND_CD, SUM(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING SUM(ADJSTD_MAX_APTC_AM) > 2000;
Group enrollments by year and find the years with more than 2,500 enrollments.
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, ...
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_...
SELECT ENRT_YEAR, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING COUNT() > 2500;
Group enrollments by the enrollment type code and calculate the maximum premium paid date for types with a maximum date later than '2023-10-31'.
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, ...
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_...
SELECT ENRT_TYPE_CD, MAX(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING MAX(PREM_PAID_DT) > '2023-10-31';
Group enrollments by the open enrollment indicator and find the open enrollment statuses with more than 3,000 enrollments.
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, ...
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_...
SELECT ENRT_IND_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING COUNT() > 3000;
Group enrollments by year and calculate the average change reporting maximum APTC amount for years with an average amount exceeding $500.
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, ...
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_...
SELECT ENRT_YEAR, AVG(CR_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING AVG(CR_MAX_APTC_AM) > 500;
Group enrollments by the enrollment type code and find the types with a maximum plan enrollment premium amount greater than $2,000.
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, ...
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_...
SELECT ENRT_TYPE_CD, MAX(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING MAX(PLAN_ENRT_PREM_AM) > 2000;
Group enrollments by the enrollment flow indicator and calculate the total advanced premium tax credit amount for flows with a total amount greater than $1,500.
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, ...
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_...
SELECT ENRT_FLOW_IN, SUM(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN HAVING SUM(ADJSTD_MAX_APTC_AM) > 1500;
Group enrollments by the open enrollment indicator and find the open enrollment statuses with a minimum advanced premium tax credit amount exceeding $1,000.
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, ...
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_...
SELECT ENRT_IND_CD, MIN(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING MIN(ADJSTD_MAX_APTC_AM) > 1000;
Group enrollments by year and calculate the total premium paid date for years with a total date later than '2023-11-30'.
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, ...
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_...
SELECT ENRT_YEAR, SUM(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING SUM(PREM_PAID_DT) > '2023-11-30';
Group enrollments by the enrollment type code and find the types with a minimum plan enrollment premium amount greater than $1,500.
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, ...
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_...
SELECT ENRT_TYPE_CD, MIN(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING MIN(PLAN_ENRT_PREM_AM) > 1500;
Group enrollments by the open enrollment indicator and calculate the average advanced premium tax credit amount for open enrollment statuses with an average amount greater than $1,000.
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, ...
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_...
SELECT ENRT_IND_CD, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING AVG(ADJSTD_MAX_APTC_AM) > 1000;
Group enrollments by year and find the years with more than 3,000 enrollments.
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, ...
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_...
SELECT ENRT_YEAR, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING COUNT() > 3000;
Group enrollments by the enrollment type code and calculate the maximum premium paid date for types with a maximum date later than '2023-11-30'.
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, ...
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_...
SELECT ENRT_TYPE_CD, MAX(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING MAX(PREM_PAID_DT) > '2023-11-30';
Group enrollments by the open enrollment indicator and find the open enrollment statuses with a maximum advanced premium tax credit amount exceeding $2,000.
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, ...
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_...
SELECT ENRT_IND_CD, MAX(MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING MAX(MAX_APTC_AM) > 2000;
Group enrollments by year and calculate the average premium paid date for years with an average date later than '2023-12-31'.
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, ...
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_...
SELECT ENRT_YEAR, AVG(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING AVG(PREM_PAID_DT) > '2023-12-31';
Group enrollments by the enrollment type code and find the types with a minimum advanced premium tax credit amount exceeding $1,500.
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, ...
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_...
SELECT ENRT_TYPE_CD, MIN(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING MIN(ADJSTD_MAX_APTC_AM) > 1500;
Group enrollments by the enrollment flow indicator and calculate the total change reporting maximum APTC amount for flows with a total amount greater than $2,000.
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, ...
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_...
SELECT ENRT_FLOW_IN, SUM(CR_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN HAVING SUM(CR_MAX_APTC_AM) > 2000;
Group enrollments by disenrollment reason code and find the reasons with more than 50 enrollments.
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, ...
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_...
SELECT DENRT_RSN_CD, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_RSN_CD HAVING COUNT() > 50;
Group enrollments by application ID and calculate the average maximum advanced premium tax credit amount for applications with an average amount greater than $300.
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, ...
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_...
SELECT APPLN_ID, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY APPLN_ID HAVING AVG(ADJSTD_MAX_APTC_AM) > 300;
Group enrollments by carrier policy ID and find the policies with a minimum premium paid date later than '2023-07-31'.
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, ...
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_...
SELECT CARR_POL_ID, MIN(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING MIN(PREM_PAID_DT) > '2023-07-31';
Group enrollments by center of Medical and Medicaid Services message ID and calculate the total advanced premium tax credit amount for messages with a total amount greater than $2,500.
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, ...
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_...
SELECT CMS_MSG_ID, SUM(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY CMS_MSG_ID HAVING SUM(ADJSTD_MAX_APTC_AM) > 2500;
Group enrollments by skip shop indicator and find the indicators with more than 500 enrollments.
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, ...
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_...
SELECT SKIP_SHOP_IN, COUNT() FROM HIX.T_ENRT GROUP BY SKIP_SHOP_IN HAVING COUNT() > 500;
Group enrollments by premium paid to date end and calculate the average change reporting maximum APTC amount for dates with an average amount greater than $300.
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, ...
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_...
SELECT PREM_PAID_TO_DT_END, AVG(CR_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING AVG(CR_MAX_APTC_AM) > 300;
Group enrollments by plan enrollment after APTC amount and find the amounts with a minimum premium paid date later than '2023-08-31'.
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, ...
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_...
SELECT PLAN_ENRT_AFTER_APTC_AM, MIN(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY PLAN_ENRT_AFTER_APTC_AM HAVING MIN(PREM_PAID_DT) > '2023-08-31';
Group enrollments by assister ID and calculate the total plan enrollment premium amount for assisters with a total amount greater than $2,000.
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, ...
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_...
SELECT ASSISTER_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ASSISTER_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 2000;
Group enrollments by effective start date and find the dates with more than 50 enrollments.
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, ...
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_...
SELECT EFFV_START_DT, COUNT() FROM HIX.T_ENRT GROUP BY EFFV_START_DT HAVING COUNT() > 50;
Group enrollments by application identifier and calculate the average premium paid date for identifiers with an average date later than '2023-11-30'.
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, ...
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_...
SELECT DENRT_APPLN_ID, AVG(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY DENRT_APPLN_ID HAVING AVG(PREM_PAID_DT) > '2023-11-30';
Group enrollments by enrollment flow code and find the codes with more than 500 enrollments.
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, ...
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_...
SELECT DENRT_ENRT_EDI_FLOW_CD, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_ENRT_EDI_FLOW_CD HAVING COUNT() > 500;
Group enrollments by adjust maximum APTC amount and calculate the average advanced premium tax credit amount for amounts with an average amount greater than $300.
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, ...
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_...
SELECT ADJSTD_MAX_APTC_AM, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ADJSTD_MAX_APTC_AM HAVING AVG(ADJSTD_MAX_APTC_AM) > 300;
Group enrollments by enrollment logical ID and find the IDs with more than 50 enrollments.
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, ...
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_...
SELECT ENRT_LOGICAL_ID, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_LOGICAL_ID HAVING COUNT() > 50;
Group enrollments by enrollment indicator code and calculate the total plan enrollment premium amount for codes with a total amount greater than $2,000.
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, ...
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_...
SELECT ENRT_IND_CD, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING SUM(PLAN_ENRT_PREM_AM) > 2000;
Group enrollments by carrier message status ID and find the statuses with more than 500 enrollments.
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, ...
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_...
SELECT CARR_MSG_STATUS_ID, COUNT() FROM HIX.T_ENRT GROUP BY CARR_MSG_STATUS_ID HAVING COUNT() > 500;
Group enrollments by year and calculate the average maximum advanced premium tax credit amount for years with an average amount greater than $500.
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, ...
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_...
SELECT ENRT_YEAR, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING AVG(ADJSTD_MAX_APTC_AM) > 500;
Group enrollments by application identifier and find the identifiers with a minimum plan disenrollment date later than '2023-09-30'.
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, ...
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_...
SELECT DENRT_APPLN_ID, MIN(PLAN_DENRT_DT) FROM HIX.T_ENRT GROUP BY DENRT_APPLN_ID HAVING MIN(PLAN_DENRT_DT) > '2023-09-30';
Group enrollments by enrollment flow code and calculate the total premium paid date for codes with a total date later than '2023-10-31'.
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, ...
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_...
SELECT DENRT_ENRT_EDI_FLOW_CD, SUM(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY DENRT_ENRT_EDI_FLOW_CD HAVING SUM(PREM_PAID_DT) > '2023-10-31';
Group enrollments by skip shop indicator and find the indicators with more than 200 enrollments.
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, ...
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_...
SELECT SKIP_SHOP_IN, COUNT() FROM HIX.T_ENRT GROUP BY SKIP_SHOP_IN HAVING COUNT() > 200;
Group enrollments by EHB plan enrollment premium amount and calculate the average change reporting maximum APTC amount for amounts with an average amount greater than $200.
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, ...
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_...
SELECT EHB_PLAN_ENRT_PREM_AM, AVG(CR_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY EHB_PLAN_ENRT_PREM_AM HAVING AVG(CR_MAX_APTC_AM) > 200;
Group enrollments by carrier policy ID and find the policies with more than 50 enrollments.
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, ...
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_...
SELECT CARR_POL_ID, COUNT() FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING COUNT() > 50;
Group enrollments by center of Medical and Medicaid Services message ID and calculate the total advanced premium tax credit amount for messages with a total amount greater than $3,000.
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, ...
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_...
SELECT CMS_MSG_ID, SUM(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY CMS_MSG_ID HAVING SUM(ADJSTD_MAX_APTC_AM) > 3000;
Group enrollments by premium paid to date end and find the dates with more than 100 enrollments.
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, ...
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_...
SELECT PREM_PAID_TO_DT_END, COUNT() FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING COUNT() > 100;
Group enrollments by plan enrollment after APTC amount and calculate the average maximum advanced premium tax credit amount for amounts with an average amount greater than $1,000.
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, ...
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_...
SELECT PLAN_ENRT_AFTER_APTC_AM, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY PLAN_ENRT_AFTER_APTC_AM HAVING AVG(ADJSTD_MAX_APTC_AM) > 1000;
Group enrollments by assister ID and find the assisters with more than 10 enrollments.
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, ...
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_...
SELECT ASSISTER_ID, COUNT() FROM HIX.T_ENRT GROUP BY ASSISTER_ID HAVING COUNT() > 10;
Group enrollments by effective start date and calculate the total advanced premium tax credit amount for dates with a total amount greater than $100.
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, ...
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_...
SELECT EFFV_START_DT, SUM(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY EFFV_START_DT HAVING SUM(ADJSTD_MAX_APTC_AM) > 100;
Group enrollments by application identifier and find the identifiers with more than 100 enrollments.
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, ...
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_...
SELECT DENRT_APPLN_ID, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_APPLN_ID HAVING COUNT() > 100;
Group enrollments by enrollment flow code and calculate the average premium paid date for codes with an average date later than '2023-11-30'.
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, ...
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_...
SELECT DENRT_ENRT_EDI_FLOW_CD, AVG(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY DENRT_ENRT_EDI_FLOW_CD HAVING AVG(PREM_PAID_DT) > '2023-11-30';
Group enrollments by adjust maximum APTC amount and find the amounts with more than 10 enrollments.
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, ...
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_...
SELECT ADJSTD_MAX_APTC_AM, COUNT() FROM HIX.T_ENRT GROUP BY ADJSTD_MAX_APTC_AM HAVING COUNT() > 10;
Group enrollments by enrollment logical ID and calculate the total plan enrollment premium amount for IDs with a total amount greater than $100.
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, ...
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_...
SELECT ENRT_LOGICAL_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_LOGICAL_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 100;
Group enrollments by enrollment indicator code and find the codes with more than 10 enrollments.
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, ...
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_...
SELECT ENRT_IND_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING COUNT() > 10;
Group enrollments by carrier message status ID and calculate the average maximum advanced premium tax credit amount for statuses with an average amount greater than $1,000.
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, ...
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_...
SELECT CARR_MSG_STATUS_ID, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY CARR_MSG_STATUS_ID HAVING AVG(ADJSTD_MAX_APTC_AM) > 1000;
Group enrollments by disenrollment reason code and find the reasons with more than 100 enrollments.
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, ...
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_...
SELECT DENRT_RSN_CD, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_RSN_CD HAVING COUNT() > 100;
Group enrollments by application ID and calculate the total plan enrollment premium amount for applications with a total amount greater than $1,000.
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, ...
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_...
SELECT APPLN_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY APPLN_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 1000;
Group enrollments by carrier policy ID and find the policies with more than 10 enrollments.
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, ...
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_...
SELECT CARR_POL_ID, COUNT() FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING COUNT() > 10;
Group enrollments by center of Medical and Medicaid Services message ID and calculate the average premium paid date for messages with an average date later than '2023-12-31'.
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, ...
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_...
SELECT CMS_MSG_ID, AVG(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY CMS_MSG_ID HAVING AVG(PREM_PAID_DT) > '2023-12-31';
Group enrollments by skip shop indicator and find the indicators with more than 100 enrollments.
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, ...
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_...
SELECT SKIP_SHOP_IN, COUNT() FROM HIX.T_ENRT GROUP BY SKIP_SHOP_IN HAVING COUNT() > 100;
Group enrollments by premium paid to date end and calculate the total advanced premium tax credit amount for dates with a total amount greater than $200.
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, ...
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_...
SELECT PREM_PAID_TO_DT_END, SUM(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING SUM(ADJSTD_MAX_APTC_AM) > 200;
Group enrollments by plan enrollment after APTC amount and find the amounts with more than 10 enrollments.
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, ...
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_...
SELECT PLAN_ENRT_AFTER_APTC_AM, COUNT() FROM HIX.T_ENRT GROUP BY PLAN_ENRT_AFTER_APTC_AM HAVING COUNT() > 10;
Group enrollments by assister ID and calculate the average maximum advanced premium tax credit amount for assisters with an average amount greater than $300.
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, ...
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_...
SELECT ASSISTER_ID, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ASSISTER_ID HAVING AVG(ADJSTD_MAX_APTC_AM) > 300;
Group enrollments by effective start date and find the dates with more than 10 enrollments.
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, ...
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_...
SELECT EFFV_START_DT, COUNT() FROM HIX.T_ENRT GROUP BY EFFV_START_DT HAVING COUNT() > 10;
Group enrollments by application identifier and calculate the total premium paid date for identifiers with a total date later than '2023-12-31'.
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, ...
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_...
SELECT DENRT_APPLN_ID, SUM(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY DENRT_APPLN_ID HAVING SUM(PREM_PAID_DT) > '2023-12-31';
Group enrollments by enrollment flow code and find the codes with more than 10 enrollments.
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, ...
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_...
SELECT DENRT_ENRT_EDI_FLOW_CD, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_ENRT_EDI_FLOW_CD HAVING COUNT() > 10;
Retrieve enrollments ordered by enrollment ID in ascending order.
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, ...
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_...
SELECT * FROM HIX.T_ENRT ORDER BY ENRT_ID ASC;
Retrieve enrollments ordered by plan enrollment date in descending order.
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, ...
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_...
SELECT * FROM HIX.T_ENRT ORDER BY PLAN_ENRT_DT DESC;
Retrieve enrollments ordered by enrollment status code in ascending order.
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, ...
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_...
SELECT * FROM HIX.T_ENRT ORDER BY ENRT_STATUS_CD ASC;