standardized SQL in river lib