select client_id from table where date > add_monthes ( sysdate, -36 ) group by client_id having count ( distinct balance ) = 1 -- ну или having min ( balance ) = max ( balance )