sql query command : i am new on sql and i need to find a command in order to generate a report regarding a table i have:
column1     Tax      Amount   
  350	     45	       x          
  6500       53        y
  800        25        z

i need to calculate x, y and z. I need to do the math: =IF(column1<=5000,column1+tax,column1) - (in words) i need to calculate x/y/z as  the sum of column1+Tax with the options: if column1 is smaller or equal than 5000 then x=column1+tax;
If column1>5000 then x or y or z should have the column1 value as a result.
Can you help me to find the sql query that calculates x or y or z?
Many thanks
