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', '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', '1', '3') AND  opg_call_list.row_id > 22397 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', '1', '3') AND  opg_call_list.row_id > 22398 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', '1', '3') AND  opg_call_list.row_id > 22399 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', '1', '3') AND  opg_call_list.row_id > 22400 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', '1', '3') AND  opg_call_list.row_id > 22401 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', '1', '3') AND  opg_call_list.row_id > 22402 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', '1', '3') AND  opg_call_list.row_id > 22403 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', '1', '3') AND  opg_call_list.row_id > 22404 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', '1', '3') AND  opg_call_list.row_id > 22405 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', '1', '3') AND  opg_call_list.row_id > 22406 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', '1', '3') AND  opg_call_list.row_id > 22402 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', '1', '3') AND  opg_call_list.row_id > 22404 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', '1', '3') AND  opg_call_list.row_id > 22406 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', '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 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', '1', '3') AND  opg_call_list.row_id > 22398 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', '1', '3') AND  opg_call_list.row_id > 22400 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', '1', '3') AND  opg_call_list.row_id > 22405 AND  opg_call_list.actual IS TRUE AND  opgx_case_break.case_id IS NULL  ORDER BY opg_call_list.row_id LIMIT 2