The problem of the present invention is to provide a useful compound as a glucokinase activating agent, which is the oxime derivative of the formula [I]: wherein Ring A is aryl or heteroaryl; Q is cycloalkyl, heterocycle, alkyl or alkenyl; Ring T is heteroaryl or heterocycle; R1 and R2 are independently hydrogen atom, halogen atom, cycloalkylsulfonyl or the like; R3 and R4 are independently hydrogen atom, hydroxy, oxo, halogen atom or the like; R5 is hydrogen atom, halogen atom, cyano, nitro, tetrazolyl or the like; or a pharmaceutically acceptable salt thereof.本發明提供一種適用為葡糖激酶活化劑之化合物,其係如下式[I]肟衍生物或其醫藥上可接受之鹽其中A環為芳基或雜芳基;Q為環烷基、雜環、烷基或烯基;T環為雜芳基或雜環;R1與R2獨立地為氫原子、鹵原子、環烷基磺醯基等等;R3與R4獨立地為氫原子、羥基、酮基、鹵原子等等;R5為氫原子、鹵原子、氰基、硝基、四唑基等等。