I have a table with the fields:
orderID
collection
delivery
username
collection and delivery are IDs and correspond to a record in the addresses table:
addressID
address1
address2
address3
town
country
How can I write a query that shows all orders for a particular username but with the full address details for both collection and delivery.
You just need to add an alias to you joined tables.