In the univariable analysis (Table 3), the following were identified as significant variables associated with 30-day mortality: lymph node metastasis (p = 0.016), distant metastasis (p = 0.00088), postoperative complications (p = 0.00053), Child–Pugh class C (p = 0.032), type of malignancy(p = 0.019), ascites (p = 0.029), TB (p = 0.00023), albumin (p = 0.0044), and PT (p = 0.044), On the other hand, the ALT levels (p = 0.049), successful drainage (p = 5e-04), and albumin levels (p = 0.0044) were found to have a negative correlation with 30-day mortality. Here, GPT is linked to tuberculosis.