We found that male sex, age > 65 years, DBP > 90 mmHg, WBC > 10 × 109 /L, blood glucose > 6.1 mmol/L, ALT > 40 U/L, LDH > 245 U/L, Cr > 133 μmol/L, BUN > 7.1 mmol/L, and PT > 16 s as well as hyponatremia, hypokalemia, ARDS, shock, solid tumors, hematological tumors, and insulin use were potential risk factors for in-hospital mortality in patients with COVID-19. The gene discussed is GPT; the disease is Hypokalemia.