True.. I may have new clients coming into the system in the future. As specified in my current trigger, the top client is a guy with ClientNo = 122336. However, he is NOT always a top client. I might have a new guy with ,let's say, ClientNo = 122338 and his purchases are higher than the previous guy's.
To get around this, I need to add my select statement to see who's my top client and if top client exists then give him/her a 10% reduction in price..
Does their "amount" still stay at a 10% premium, or do they get reduced by the previous 10%?
I ain't sure what happens if a new client replaces the old one.
Cheers,
cheers,