>Still the wrong answer.
>Results
>
>3500 = 50.00 sb 40.00
>2500 = 30.00 sb 22.50
>1500 = 15.00 sb 10.00
>500 = 5.00 sb 2.50
>
>Sergey's solution clarified by you :).
>
>Thanks.
>
I get this in SQL Server:
1 3500 40.0000
1 2500 22.5000
2 1500 10.0000
1 500 2.5000
2 500 2.5000
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.