Possibility to pass parameters to joined query