Thank this author by sharing:
By Jacob Sebastian, 2012/09/17
The challenge is to find the Tax Code based on Price. There is a table called "LineItems" that have Invoice Number and Price. There is another table "Sales" contains Invoice Number, Amount and Tax Code. Each sales amount is uniquely made up by the sum of one or more prices. Based on this you should assign the tax code to each price.
http://beyondrelational.com/puzzles/challenges/116/find-elements-that-uniquely-make-up-a-group.aspx
Software pricing is a controversial topic, but Steve Jones found an article saying many enterprises ...
Creating a system that will process EDI 811 (Invoices) feeds and am curious on pricing options.
Unique Constraint
Unique Constrain
Building a Stock Price Correlation Matrix Using TVPs, a CROSS JOIN and the PIVOT Function
As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.
Join us!
Steve Jones Editor, SQLServerCentral.com