Show order_id, payment_method and pay_type: Cash for COD, otherwise Online.
order_id
payment_method
pay_type
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.