Query cloud sql working