Join query distribution

join distribution