Cast single row relation to scalar to perform division operation rather ...

...than doing a cross join