i think you gave the right direction but its not realy the full solution. imagine that you have such a table
wfw_wps_code wfw_anteil wfw_wps_code_teil
071736.BFON 39 N/A
071736.BFON 19 N/A
071736.BFON 12 N/A
071736.BFON 9 N/A
071736.BFON 33 N/A
and i want to find out which cobmination of the rows gives me the result of sum(wfw_anteil) = 100. do you know if there is a possibility of solving it whit sql or pl/sql? thnx
kemo
wfw_wps_code wfw_anteil wfw_wps_code_teil
071736.BFON 39 N/A
071736.BFON 19 N/A
071736.BFON 12 N/A
071736.BFON 9 N/A
071736.BFON 33 N/A
and i want to find out which cobmination of the rows gives me the result of sum(wfw_anteil) = 100. do you know if there is a possibility of solving it whit sql or pl/sql? thnx
kemo