I am retrieving the different categories & their corresponding amounts which make up a salary package of all the employees of a firm from SQL Server. Some of the categories are his Basic Salary, HRA, Medical, how much house rent he pays etc...Now what I want to do is for each employee get the house rent he pays & if it is greater than 2000, then it should be subjected to 3 conditions. How do I do this? Note that the result generated from all the 3 conditions will always be a number & the condition that generates the least amount, that amount will be finally displayed to the users in a web page.
Thanks,
Arpan
Thanks,
Arpan