Create payments with payment_id INTEGER PRIMARY KEY and mode VARCHAR that is required and only 'UPI', 'Card' or 'COD'.
This question starts with an empty database.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.