Parameterised extension queries