 列出患者金嘉丽的医疗记录中每一次被开出的药品金额不低于4769.0元的医疗就诊编号
CREATE TABLE t_kc24 (
    ACCOUNT_DASH_DATE time,
    ACCOUNT_DASH_FLG number,
    CASH_PAY number,
    CIVIL_SUBSIDY number,
    CKC102 number,
    CLINIC_ID text,
    CLINIC_SLT_DATE time,
    COMP_ID text,
    COM_ACC_PAY number,
    COM_PAY number,
    DATA_ID text,
    ENT_ACC_PAY number,
    ENT_PAY number,
    FLX_MED_ORG_ID text,
    ILL_PAY number,
    INSURED_IDENTITY number,
    INSURED_STS text,
    INSU_TYPE text,
    LAS_OVE_PAY number,
    MED_AMOUT number,
    MED_CLINIC_ID text,
    MED_SAFE_PAY_ID text,
    MED_TYPE number,
    OLDC_FUND_PAY number,
    OUT_HOSP_DATE time,
    OVERALL_CD_ORG text,
    OVERALL_CD_PERSON text,
    OVE_ADD_PAY number,
    OVE_PAY number,
    PERSON_ID text,
    PER_ACC_PAY number,
    PER_EXP number,
    PER_SOL number,
    RECEIVER_DEAL_ID text,
    RECEIVER_OFFSET_ID text,
    RECEIVER_REVOKE_ID text,
    RECIPE_BILL_ID text,
    REF_SLT_FLG number,
    REIMBURS_FLG number,
    SENDER_DEAL_ID text,
    SENDER_OFFSET_ID text,
    SENDER_REVOKE_ID text,
    SPE_FUND_PAY number,
    SUP_ADD_PAY number,
    SYNC_TIME time,
    TRADE_TYPE number
)

CREATE TABLE t_kc22 (
    AMOUNT number,
    CHA_ITEM_LEV number,
    DATA_ID text,
    DIRE_TYPE number,
    DOSE_FORM text,
    DOSE_UNIT text,
    EACH_DOSAGE text,
    EXP_OCC_DATE time,
    FLX_MED_ORG_ID text,
    FXBZ number,
    HOSP_DOC_CD text,
    HOSP_DOC_NM text,
    MED_CLINIC_ID text,
    MED_DIRE_CD text,
    MED_DIRE_NM text,
    MED_EXP_BILL_ID text,
    MED_EXP_DET_ID text,
    MED_INV_ITEM_TYPE text,
    MED_ORG_DEPT_CD text,
    MED_ORG_DEPT_NM text,
    OVERALL_CD_ORG text,
    OVERALL_CD_PERSON text,
    OVE_SELF_AMO number,
    PRESCRIPTION_CODE text,
    PRESCRIPTION_ID text,
    QTY number,
    RECIPE_BILL_ID text,
    REF_STA_FLG number,
    REIMBURS_TYPE number,
    REMOTE_SETTLE_FLG text,
    RER_SOL number,
    SELF_PAY_AMO number,
    SELF_PAY_PRO number,
    SOC_SRT_DIRE_CD text,
    SOC_SRT_DIRE_NM text,
    SPEC text,
    STA_DATE time,
    STA_FLG number,
    SYNC_TIME time,
    TRADE_TYPE number,
    UNIVALENT number,
    UP_LIMIT_AMO number,
    USE_FRE text,
    VAL_UNIT text,
    t_kc21_CLINIC_ID text,
    t_kc21_CLINIC_TYPE text,
    t_kc21_COMP_ID text,
    t_kc21_DATA_ID text,
    t_kc21_DIFF_PLACE_FLG number,
    t_kc21_FERTILITY_STS number,
    t_kc21_FLX_MED_ORG_ID text,
    t_kc21_HOSP_LEV number,
    t_kc21_HOSP_STS number,
    t_kc21_IDENTITY_CARD text,
    t_kc21_INPT_AREA_BED text,
    t_kc21_INSURED_IDENTITY number,
    t_kc21_INSURED_STS text,
    t_kc21_INSU_TYPE text,
    t_kc21_IN_DIAG_DIS_CD text,
    t_kc21_IN_DIAG_DIS_NM text,
    t_kc21_IN_HOSP_DATE time,
    t_kc21_IN_HOSP_DAYS number,
    t_kc21_MAIN_COND_DES text,
    t_kc21_MED_AMOUT number,
    t_kc21_MED_ORG_DEPT_CD text,
    t_kc21_MED_ORG_DEPT_NM text,
    t_kc21_MED_SER_ORG_NO text,
    t_kc21_MED_TYPE number,
    t_kc21_OUT_DIAG_DIS_CD text,
    t_kc21_OUT_DIAG_DIS_NM text,
    t_kc21_OUT_DIAG_DOC_CD text,
    t_kc21_OUT_DIAG_DOC_NM text,
    t_kc21_OUT_HOSP_DATE time,
    t_kc21_OVERALL_CD_ORG text,
    t_kc21_OVERALL_CD_PERSON text,
    t_kc21_PERSON_AGE number,
    t_kc21_PERSON_ID text,
    t_kc21_PERSON_NM text,
    t_kc21_PERSON_SEX number,
    t_kc21_REIMBURSEMENT_FLG number,
    t_kc21_REMOTE_SETTLE_FLG text,
    t_kc21_SERVANT_FLG text,
    t_kc21_SOC_SRT_CARD text,
    t_kc21_SYNC_TIME time,
    t_kc21_TRADE_TYPE number
)
SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.t_kc21_PERSON_NM = '金嘉丽' AND t_kc22.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT >= 4769.0)