SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 0 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22376 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22377 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22378 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22379 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22380 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22381 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22382 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22383 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22384 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22385 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22386 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22387 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22388 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22389 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1


SELECT opg_call_list.* FROM opg_call_list LEFT JOIN xcalls.opgx_case_break ON (opgx_case_break.case_id = opg_call_list.case_id) WHERE   opg_call_list.segment = 'желтый' AND  opg_call_list.region IN ('3') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22390 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 1