A SQL query walks into a bar, walks up to two tables and asks: 'Can I join you?'