I have a table below.
Name Product
---------------------
Value 2002
HigherLimit *
HigherLimit 2002
LowerLimit *
I need a select statement to return distinct(Name) with the following condition.
If a Product is 2002 then return '2002' else return '*'
Here is the expected result
Name Product
---------------------
Value 2002
HigherLimit 2002
LowerLimit *
Any help would be greatly appreciated.
Thanks Niju