How many payment types are there?
select distinct payment_type_code from payments
Show me the date of payments using Check as payment type.
select payment_date from payments where payment_type_code = 'Check'
Also include those with amount paid higher than 300.
select payment_date from payments where amount_paid > 300 or payment_type_code = 'Check'