We have a query with a common structure that we use under different circumstances (where clause is different)
So we have something like this
val baseQuery: