Improving Oracle compatibility step 1

Removed aliasing in from clause in quount query