select * from qcf_products where rownumber >= #_startRow# and rownumber <= #_endRow#