"pyrazole derivative, medicinal composition containing it, medicinal use thereof, and intermediate for its production". a pyrazole derivative represented by the general formula (i) (wherein R1 is H, optionally substituted C1-6 alkyl, etc.; one of qet is the group of formula (ii) or formula (iii). ) and the other is optionally substituted C1-6 alkyl, etc., R2 is H, halogen, oh, optionally substituted C1-6 alkyl, etc. x is a single bond, o or s; y is a single bond, C 1-6 alkylene, etc., z is co or so 2, each of R 4 and R 5 is h, optionally substituted C 1-6 alkyl etc. and each of R 3, R 6 and R 7 is h, halogen, etc.), a pharmaceutically acceptable salt of the derivative or a premedication of either. They have excellent human sglt1 inhibitory activity and are useful as a preventive or therapeutic agent for diseases attributable to hyperglycemia such as diabetes, diabetes complications and obesity."derivado de pirazol, composição medicinal contendo o mesmo, uso medicinal dele, e intermediário para a sua produção". um derivado de pirazol, representado pela fórmula geral (i) (em que r^ 1^ é h, alquila c~ 1-6~ opcionalmente substituído etc.; um de q e t é o grupo da fórmula (ii) ou da fórmula (iii) e o outro é alquila c~ 1-6~ opcionalmente substituído etc.; r^ 2^ é h, halogênio, oh, alquila c~ 1-6~ opcionalmente substituído etc.; x é um ligação simples, o ou s; y é urna ligação simples, alquileno c~ 1-6~ etc.; z é co ou so~ 2~; cada um de r^ 4^ e r^ 5^ é h, alquila c~ 1-6~ opcionalmente substituído etc.; e cada um de r^ 3^, r^ 6^ e r^ 7^ é h, halogênio etc.), um sal farmaceuticamente aceitável do derivado ou um promedicamento de qualquer um dos dois. eles têm uma atividade inibidora excelente de sglt1 humano e são úteis como um agente preventivo ou terapêutico para doenças atribuíveis à hiperglicemia tais como diabetes, complicações de diabetes e obesidade.