GPT and diabetes mellitus: Subgroup analyses based on age, sex, family history of diabetes, and BMI demonstrated significant differences in the association between the ALT/HDL-C ratio and diabetes risk among different age groups, sexes, and BMI groups, but not among diabetes family history groups.