I have to fields in a table:
1. Age
2. FullCost
I would like a query to work out a discount cost to meet the following criteria:
if age > 12 and Fullcost is > 100
then DiscountCost = Fullcost * 0.5
Can't seem to get this to work in SQL
Anyone got any ideas...
Thanx in advance..............Chris
1. Age
2. FullCost
I would like a query to work out a discount cost to meet the following criteria:
if age > 12 and Fullcost is > 100
then DiscountCost = Fullcost * 0.5
Can't seem to get this to work in SQL
Anyone got any ideas...
Thanx in advance..............Chris