Convert tax like IRS function to SQL
Posted
by CrashRoX
on Stack Overflow
See other posts from Stack Overflow
or by CrashRoX
Published on 2010-04-22T14:32:03Z
Indexed on
2010/04/22
14:33 UTC
Read the original article
Hit count: 143
Trying to convert this tax-like IRS function http://stackoverflow.com/questions/1817920/calculating-revenue-share-at-different-tiers to SQL. The assumption is the table would be one column (price) and the tiers will be added dynamically.
My first attempt has some case statements that didn't work out well. I have since scrapped it :) Thanks for the help!
© Stack Overflow or respective owner