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 10


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 > 22414 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 10


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 7


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 ('2', '3') AND  opg_call_list.priority IN ('2', '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 2


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', '4') AND  opg_call_list.priority IN ('1', '3') 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 > 22414 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 7


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 ('2', '3', '4') 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 ('2', '3', '4') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22422 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 > 22421 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 5


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 5


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 > 22411 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 5


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 > 22421 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 7


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 ('2', '3') AND  opg_call_list.priority IN ('2', '1') AND  opg_call_list.row_id > 22427 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 2


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 6


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 ('2', '3') AND  opg_call_list.priority IN ('2', '1') AND  opg_call_list.row_id > 22430 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', '4') AND  opg_call_list.priority IN ('1', '3') AND  opg_call_list.row_id > 22424 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 > 22412 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 6


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 ('2', '3') AND  opg_call_list.priority IN ('2', '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 > 22421 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 6


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 ('2', '3') AND  opg_call_list.priority IN ('2', '1') AND  opg_call_list.row_id > 22423 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 ('2', '3') AND  opg_call_list.priority IN ('2', '1') AND  opg_call_list.row_id > 22427 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 > 22412 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 5


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', '4') AND  opg_call_list.priority IN ('1', '3') 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 ('2', '3', '4') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22426 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 > 22412 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 7


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 ('2', '3', '4') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22428 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 > 0 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 7


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 > 22413 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 7


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 ('2', '3', '4') 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 > 22421 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 7


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 ('2', '3') AND  opg_call_list.priority IN ('2', '1') AND  opg_call_list.row_id > 22430 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 2


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 ('2', '3') AND  opg_call_list.priority IN ('2', '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 2


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 ('2', '3', '4') AND  opg_call_list.priority IN ('2', '3', '1') AND  opg_call_list.row_id > 22422 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 ('2', '3') AND  opg_call_list.priority IN ('2', '1') AND  opg_call_list.row_id > 22427 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 2