PROBLEM TO BE SOLVED: To provide a pyrazole compound having SGLT1 inhibitory action, or a pharmaceutical composition comprising the same, and its pharmaceutical use.SOLUTION: The present invention provides a compound represented by the general formula [Ib] in the figure, or a pharmaceutically acceptable salt thereof. [In the formula, each symbol is as described in the specification.]SELECTED DRAWING: None【課題】SGLT1阻害作用を有するピラゾール化合物、それを含む医薬組成物、及びその医薬用途の提供。【解決手段】下記一般式[Ib]で示される化合物又はその医薬上許容される塩:[式中、各記号は明細書に記載の通りである。]【選択図】なし