If this `%s` is always the same, why don't we instead do...
```
...
FROM %(table)s r 
...
```
And then later 
```
query = _serverStatsSql % {'table': self._report_partition()}
```