revise sql to select intermittent ways at waterway_low,waterway_med