Output stringlengths 25 230 | Context stringclasses 1
value | Input stringlengths 20 214 |
|---|---|---|
SELECT APPLN_ID, COUNT() FROM HIX.T_ENRT GROUP BY APPLN_ID HAVING COUNT() > 100; | 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_... | Count the number of enrollments for each application with more than 100 records. |
SELECT ENRT_STATUS_CD, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_STATUS_CD HAVING AVG(PLAN_ENRT_PREM_AM) > 600; | 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_... | Find the enrollment statuses with an average premium amount exceeding 600. |
SELECT ENRT_TYPE_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING COUNT() > 30; | 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_... | Count the number of enrollments for each enrollment type with more than 30 records. |
SELECT PREM_PAID_DT, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_DT HAVING SUM(PLAN_ENRT_PREM_AM) > 3000; | 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_... | Find the premium paid dates with a sum of premium amount greater than 3000. |
SELECT EFFV_START_DT, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY EFFV_START_DT HAVING AVG(PLAN_ENRT_PREM_AM) > 700; | 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_... | Get the effective start dates with an average premium amount higher than 700. |
SELECT ENRT_IND_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING COUNT() > 40; | 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_... | Count the number of enrollments for each enrollment indicator with more than 40 records. |
SELECT PREM_PAID_TO_DT_END, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING SUM(PLAN_ENRT_PREM_AM) > 3500; | 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_... | Find the premium paid to date end values with a sum of premium amount exceeding 3500. |
SELECT CARR_POL_ID, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING AVG(PLAN_ENRT_PREM_AM) > 800; | 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_... | Get the carrier policy IDs with an average premium amount exceeding 800. |
SELECT ENRT_CHNG_IND, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_CHNG_IND HAVING COUNT() > 50; | 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_... | Count the number of enrollments for each enrollment change indicator with more than 50 records. |
SELECT CMS_MSG_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY CMS_MSG_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 4000; | 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_... | Find the CMS message IDs with a sum of premium amount greater than 4000. |
SELECT ENRT_FLOW_IN, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN HAVING AVG(PLAN_ENRT_PREM_AM) > 900; | 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_... | Get the enrollment flow indicators with an average premium amount higher than 900. |
SELECT SKIP_SHOP_IN, COUNT() FROM HIX.T_ENRT GROUP BY SKIP_SHOP_IN HAVING COUNT() > 60; | 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_... | Count the number of enrollments for each skip shopping indicator with more than 60 records. |
SELECT EFFV_END_DT, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY EFFV_END_DT HAVING SUM(PLAN_ENRT_PREM_AM) > 4500; | 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_... | Find the effective end dates with a sum of premium amount exceeding 4500. |
SELECT ENRT_LOGICAL_ID, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_LOGICAL_ID HAVING AVG(PLAN_ENRT_PREM_AM) > 1000; | 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_... | Get the enrollment logical IDs with an average premium amount exceeding 1000. |
SELECT PREM_PAID_TO_DT_END, COUNT() FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING COUNT() > 7; | 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_... | Count the number of enrollments for each premium paid to date end value with more than 7 records. |
SELECT PREM_PAID_DT, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_DT HAVING SUM(PLAN_ENRT_PREM_AM) > 3500; | 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_... | Find the premium paid dates with a sum of premium amount greater than 3500. |
SELECT ENRT_TYPE_CD, AVG(MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING AVG(MAX_APTC_AM) > 1000; | 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_... | Get the enrollment types with an average maximum APTC amount higher than 1000. |
SELECT ENRT_CHNG_IND, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_CHNG_IND HAVING COUNT() > 70; | 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_... | Count the number of enrollments for each enrollment change indicator with more than 70 records. |
SELECT EFFV_START_DT, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY EFFV_START_DT HAVING SUM(PLAN_ENRT_PREM_AM) > 5500; | 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_... | Find the effective start dates with a sum of premium amount exceeding 5500. |
SELECT ENRT_ID, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_ID HAVING AVG(PLAN_ENRT_PREM_AM) > 1200; | 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_... | Get the enrollment IDs with an average premium amount exceeding 1200. |
SELECT CARR_EFFCTN_RCVD_DT, COUNT() FROM HIX.T_ENRT GROUP BY CARR_EFFCTN_RCVD_DT HAVING COUNT() > 20; | 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_... | Count the number of enrollments for each carrier effectuation received date with more than 20 records. |
SELECT CARR_POL_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 5000; | 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_... | Find the carrier policy IDs with a sum of premium amount greater than 5000. |
SELECT ENRT_CHNG_IND, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_CHNG_IND HAVING AVG(PLAN_ENRT_PREM_AM) > 1400; | 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_... | Get the enrollment change indicators with an average premium amount higher than 1400. |
SELECT APPLN_ID, COUNT() FROM HIX.T_ENRT GROUP BY APPLN_ID HAVING COUNT() > 100; | 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_... | Count the number of enrollments for each application with more than 100 records. |
SELECT PREM_PAID_TO_DT_END, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING SUM(PLAN_ENRT_PREM_AM) > 1500; | 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_... | Find the premium paid to date end values with a sum of premium amount greater than 1500. |
SELECT CARR_POL_ID, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING AVG(PLAN_ENRT_PREM_AM) > 1100; | 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_... | Get the carrier policy IDs with an average premium amount exceeding 1100. |
SELECT ENRT_TYPE_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_TYPE_CD HAVING COUNT() > 50; | 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_... | Count the number of enrollments for each enrollment type with more than 50 records. |
SELECT PREM_PAID_DT, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_DT HAVING SUM(PLAN_ENRT_PREM_AM) > 4500; | 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_... | Find the premium paid dates with a sum of premium amount exceeding 4500. |
SELECT EFFV_START_DT, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY EFFV_START_DT HAVING AVG(PLAN_ENRT_PREM_AM) > 1300; | 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_... | Get the effective start dates with an average premium amount higher than 1300. |
SELECT ENRT_IND_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING COUNT() > 80; | 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_... | Count the number of enrollments for each enrollment indicator with more than 80 records. |
SELECT PREM_PAID_TO_DT_END, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING SUM(PLAN_ENRT_PREM_AM) > 5500; | 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_... | Find the premium paid to date end values with a sum of premium amount greater than 5500. |
SELECT CARR_POL_ID, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING AVG(PLAN_ENRT_PREM_AM) > 1200; | 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_... | Get the carrier policy IDs with an average premium amount exceeding 1200. |
SELECT ENRT_CHNG_IND, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_CHNG_IND HAVING COUNT() > 90; | 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_... | Count the number of enrollments for each enrollment change indicator with more than 90 records. |
SELECT CMS_MSG_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY CMS_MSG_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 5000; | 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_... | Find the CMS message IDs with a sum of premium amount greater than 5000. |
SELECT ENRT_FLOW_IN, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_FLOW_IN HAVING AVG(PLAN_ENRT_PREM_AM) > 1500; | 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_... | Get the enrollment flow indicators with an average premium amount higher than 1500. |
SELECT SKIP_SHOP_IN, COUNT() FROM HIX.T_ENRT GROUP BY SKIP_SHOP_IN HAVING COUNT() > 90; | 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_... | Count the number of enrollments for each skip shopping indicator with more than 90 records. |
SELECT EFFV_END_DT, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY EFFV_END_DT HAVING SUM(PLAN_ENRT_PREM_AM) > 6500; | 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_... | Find the effective end dates with a sum of premium amount exceeding 6500. |
SELECT ENRT_LOGICAL_ID, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_LOGICAL_ID HAVING AVG(PLAN_ENRT_PREM_AM) > 1400; | 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_... | Get the enrollment logical IDs with an average premium amount exceeding 1400. |
SELECT PREM_PAID_TO_DT_END, COUNT() FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING COUNT() > 9; | 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_... | Count the number of enrollments for each premium paid to date end value with more than 9 records. |
SELECT PREM_PAID_DT, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY PREM_PAID_DT HAVING SUM(PLAN_ENRT_PREM_AM) > 5000; | 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_... | Find the premium paid dates with a sum of premium amount greater than 5000. |
SELECT ENRT_ID, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_ID HAVING AVG(PLAN_ENRT_PREM_AM) > 1600; | 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_... | Get the enrollment IDs with an average premium amount exceeding 1600. |
SELECT CARR_EFFCTN_RCVD_DT, COUNT() FROM HIX.T_ENRT GROUP BY CARR_EFFCTN_RCVD_DT HAVING COUNT() > 40; | 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_... | Count the number of enrollments for each carrier effectuation received date with more than 40 records. |
SELECT CARR_POL_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 6000; | 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_... | Find the carrier policy IDs with a sum of premium amount greater than 6000. |
SELECT ENRT_CHNG_IND, AVG(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ENRT_CHNG_IND HAVING AVG(PLAN_ENRT_PREM_AM) > 1800; | 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_... | Get the enrollment change indicators with an average premium amount higher than 1800. |
SELECT APPLN_ID, COUNT() FROM HIX.T_ENRT GROUP BY APPLN_ID HAVING COUNT() > 120; | 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_... | Count the number of enrollments for each application with more than 120 records. |
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'; | 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_... | Group enrollments by the open enrollment indicator and find the open enrollment statuses with a maximum premium paid date later than '2023-09-30'. |
SELECT ENRT_YEAR, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING COUNT() > 2000; | 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_... | Group enrollments by year and count the enrollments in years with more than 2,000 enrollments. |
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; | 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_... | 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. |
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; | 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_... | Group enrollments by the enrollment flow indicator and find the flows with a minimum plan enrollment premium amount greater than $1,000. |
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; | 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_... | 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. |
SELECT ENRT_YEAR, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING COUNT() > 2500; | 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_... | Group enrollments by year and find the years with more than 2,500 enrollments. |
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'; | 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_... | 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'. |
SELECT ENRT_IND_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING COUNT() > 3000; | 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_... | Group enrollments by the open enrollment indicator and find the open enrollment statuses with more than 3,000 enrollments. |
SELECT ENRT_YEAR, AVG(CR_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING AVG(CR_MAX_APTC_AM) > 500; | 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_... | Group enrollments by year and calculate the average change reporting maximum APTC amount for years with an average amount exceeding $500. |
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; | 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_... | Group enrollments by the enrollment type code and find the types with a maximum plan enrollment premium amount greater than $2,000. |
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; | 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_... | 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. |
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; | 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_... | Group enrollments by the open enrollment indicator and find the open enrollment statuses with a minimum advanced premium tax credit amount exceeding $1,000. |
SELECT ENRT_YEAR, SUM(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING SUM(PREM_PAID_DT) > '2023-11-30'; | 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_... | Group enrollments by year and calculate the total premium paid date for years with a total date later than '2023-11-30'. |
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; | 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_... | Group enrollments by the enrollment type code and find the types with a minimum plan enrollment premium amount greater than $1,500. |
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; | 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_... | 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. |
SELECT ENRT_YEAR, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING COUNT() > 3000; | 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_... | Group enrollments by year and find the years with more than 3,000 enrollments. |
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'; | 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_... | 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'. |
SELECT ENRT_IND_CD, MAX(MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING MAX(MAX_APTC_AM) > 2000; | 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_... | Group enrollments by the open enrollment indicator and find the open enrollment statuses with a maximum advanced premium tax credit amount exceeding $2,000. |
SELECT ENRT_YEAR, AVG(PREM_PAID_DT) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING AVG(PREM_PAID_DT) > '2023-12-31'; | 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_... | Group enrollments by year and calculate the average premium paid date for years with an average date later than '2023-12-31'. |
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; | 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_... | Group enrollments by the enrollment type code and find the types with a minimum advanced premium tax credit amount exceeding $1,500. |
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; | 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_... | 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. |
SELECT DENRT_RSN_CD, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_RSN_CD HAVING COUNT() > 50; | 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_... | Group enrollments by disenrollment reason code and find the reasons with more than 50 enrollments. |
SELECT APPLN_ID, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY APPLN_ID HAVING AVG(ADJSTD_MAX_APTC_AM) > 300; | 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_... | Group enrollments by application ID and calculate the average maximum advanced premium tax credit amount for applications with an average amount greater than $300. |
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'; | 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_... | Group enrollments by carrier policy ID and find the policies with a minimum premium paid date later than '2023-07-31'. |
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; | 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_... | 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. |
SELECT SKIP_SHOP_IN, COUNT() FROM HIX.T_ENRT GROUP BY SKIP_SHOP_IN HAVING COUNT() > 500; | 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_... | Group enrollments by skip shop indicator and find the indicators with more than 500 enrollments. |
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; | 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_... | 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. |
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'; | 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_... | Group enrollments by plan enrollment after APTC amount and find the amounts with a minimum premium paid date later than '2023-08-31'. |
SELECT ASSISTER_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY ASSISTER_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 2000; | 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_... | Group enrollments by assister ID and calculate the total plan enrollment premium amount for assisters with a total amount greater than $2,000. |
SELECT EFFV_START_DT, COUNT() FROM HIX.T_ENRT GROUP BY EFFV_START_DT HAVING COUNT() > 50; | 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_... | Group enrollments by effective start date and find the dates with more than 50 enrollments. |
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'; | 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_... | Group enrollments by application identifier and calculate the average premium paid date for identifiers with an average date later than '2023-11-30'. |
SELECT DENRT_ENRT_EDI_FLOW_CD, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_ENRT_EDI_FLOW_CD HAVING COUNT() > 500; | 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_... | Group enrollments by enrollment flow code and find the codes with more than 500 enrollments. |
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; | 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_... | 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. |
SELECT ENRT_LOGICAL_ID, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_LOGICAL_ID HAVING COUNT() > 50; | 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_... | Group enrollments by enrollment logical ID and find the IDs with more than 50 enrollments. |
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; | 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_... | Group enrollments by enrollment indicator code and calculate the total plan enrollment premium amount for codes with a total amount greater than $2,000. |
SELECT CARR_MSG_STATUS_ID, COUNT() FROM HIX.T_ENRT GROUP BY CARR_MSG_STATUS_ID HAVING COUNT() > 500; | 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_... | Group enrollments by carrier message status ID and find the statuses with more than 500 enrollments. |
SELECT ENRT_YEAR, AVG(ADJSTD_MAX_APTC_AM) FROM HIX.T_ENRT GROUP BY ENRT_YEAR HAVING AVG(ADJSTD_MAX_APTC_AM) > 500; | 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_... | Group enrollments by year and calculate the average maximum advanced premium tax credit amount for years with an average amount greater than $500. |
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'; | 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_... | Group enrollments by application identifier and find the identifiers with a minimum plan disenrollment date later than '2023-09-30'. |
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'; | 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_... | Group enrollments by enrollment flow code and calculate the total premium paid date for codes with a total date later than '2023-10-31'. |
SELECT SKIP_SHOP_IN, COUNT() FROM HIX.T_ENRT GROUP BY SKIP_SHOP_IN HAVING COUNT() > 200; | 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_... | Group enrollments by skip shop indicator and find the indicators with more than 200 enrollments. |
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; | 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_... | 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. |
SELECT CARR_POL_ID, COUNT() FROM HIX.T_ENRT GROUP BY CARR_POL_ID HAVING COUNT() > 50; | 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_... | Group enrollments by carrier policy ID and find the policies with more than 50 enrollments. |
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; | 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_... | 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. |
SELECT PREM_PAID_TO_DT_END, COUNT() FROM HIX.T_ENRT GROUP BY PREM_PAID_TO_DT_END HAVING COUNT() > 100; | 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_... | Group enrollments by premium paid to date end and find the dates with more than 100 enrollments. |
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; | 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_... | 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. |
SELECT ASSISTER_ID, COUNT() FROM HIX.T_ENRT GROUP BY ASSISTER_ID HAVING COUNT() > 10; | 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_... | Group enrollments by assister ID and find the assisters with more than 10 enrollments. |
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; | 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_... | Group enrollments by effective start date and calculate the total advanced premium tax credit amount for dates with a total amount greater than $100. |
SELECT DENRT_APPLN_ID, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_APPLN_ID HAVING COUNT() > 100; | 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_... | Group enrollments by application identifier and find the identifiers with more than 100 enrollments. |
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'; | 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_... | Group enrollments by enrollment flow code and calculate the average premium paid date for codes with an average date later than '2023-11-30'. |
SELECT ADJSTD_MAX_APTC_AM, COUNT() FROM HIX.T_ENRT GROUP BY ADJSTD_MAX_APTC_AM HAVING COUNT() > 10; | 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_... | Group enrollments by adjust maximum APTC amount and find the amounts with more than 10 enrollments. |
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; | 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_... | Group enrollments by enrollment logical ID and calculate the total plan enrollment premium amount for IDs with a total amount greater than $100. |
SELECT ENRT_IND_CD, COUNT() FROM HIX.T_ENRT GROUP BY ENRT_IND_CD HAVING COUNT() > 10; | 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_... | Group enrollments by enrollment indicator code and find the codes with more than 10 enrollments. |
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; | 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_... | 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. |
SELECT DENRT_RSN_CD, COUNT() FROM HIX.T_ENRT GROUP BY DENRT_RSN_CD HAVING COUNT() > 100; | 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_... | Group enrollments by disenrollment reason code and find the reasons with more than 100 enrollments. |
SELECT APPLN_ID, SUM(PLAN_ENRT_PREM_AM) FROM HIX.T_ENRT GROUP BY APPLN_ID HAVING SUM(PLAN_ENRT_PREM_AM) > 1000; | 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_... | Group enrollments by application ID and calculate the total plan enrollment premium amount for applications with a total amount greater than $1,000. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.