The purpose of the invention is to create a compound that selectively activates liver glucokinase and in particular to provide a drug having low hypoglycemic risk for the treatment and prevention of diabetes and impaired glucose tolerance. A compound represented by general formula (1) [in the formula, ring A shows a thiazolyl group, pyridyl group, pyrazyl group, or pyrazolyl group, L shows -(CO)-, -(CS)-, or -SO2-, R1 shows a C1-6 alkyl group, hydroxy C1-6 alkyl group, C1-6 alkoxy group, amino group, C1-6 alkylamino group, hydroxyamino group, N-C1-6 alkylcarbamoyl group, or group represented by general formula (2); here, R3 shows a C1-6 alkyl group, R2 shows a hydrogen atom, halogen atom, C1-6 alkyl group, C1-6 alkoxy group, or carboxyl group] or a salt thereof or a solvate of these.本發明之課題係創製一種選擇性地使肝臟之葡萄糖激酶活化之化合物,尤其是提供一種低血糖風險較少之糖尿病、葡萄糖耐受性異常之治療及預防藥。本發明提供一種以如下之通式(1)表示之化合物或其鹽、或該等之溶劑合物:[式中,A環表示噻唑基、吡啶基、吡基或吡唑基,L表示-(CO)-、-(CS)-或-SO2-,R1表示C1-6烷基、羥基C1-6烷基、C1-6烷氧基、胺基、C1-6烷基胺基、羥基胺基、N-C1-6烷基胺甲醯基、或以下之通式(2)所表示之基:此處,R3表示C1-6烷基,R2表示氫原子、鹵素原子、C1-6烷基、C1-6烷氧基或羧基]。