I have two tables as follows,
Table name Payment_transaction having column name as
payment_ref_id, booking_ref_id, amount, due_date
second table is named as booking having cloumn name as booking_ref_id, date_created booking_status
I want to write a query which will return number of payment transaction per year.
1 Answer