Write a SQL query using inner and outer joins to retrieve customer transaction data from multiple tables.