Get query builder alias and placeholder tokens from same function.