Pyrazole compounds substituted with heteroaryl or pharmaceutically acceptable salts thereof that have an SGLT1 inhibitory activity and are useful for a drug, pharmaceutical compositions comprising the same, and pharmaceutical use thereof are disclosed. Specifically, a compound of Formula [X]: wherein R1 is hydrogen or halogen, R2 is C1-6 alkyl or halo-C1-6 alkyl, Ring Het is substituted pyridyl or optionally substituted pyrazinyl, pyrimidinyl, or pyridazinyl, or a pharmaceutically acceptable salt thereof, a pharmaceutical composition comprising it, and pharmaceutical use thereof are provided.本發明揭示一種具有SGLT1阻礙活性,並且作為醫藥有用的經雜芳基取代之吡唑化合物或其製藥上容許之鹽、含有該化合物之醫藥組成物及該等之醫藥用途。具體而言,本發明提供一種含有下述式[X]之化合物或其製藥上容許之鹽、含有該化合物之醫藥組成物及該等之醫藥用途。[式中,R1為氫或鹵素,R2為C1-6烷基或鹵C1-6烷基,環Het為取代吡啶基或可經取代之吡基、嘧啶基或嗒基]。