I'm a novice in SQL & have the following issue:
I have the following column in a table called performances:
numbers
-------
13.80
4.9
32.1
0.00
12
0.00
I would like to select this table, but where 0.00, I want to return -. So after the select it should be:
numbers
-------
13.80
4.9
32.1
-
12
-
I've tried using a case as follows:
select
numbers,
case numbers
when 0.00 then '-'
end as numbers
from
Performance
I know this incorrect & another spanner in the works is that the numbers column datatype is decimal(18, 2)
Can someone please assist me with this select? Like I mentioned, I'm still new to SQL, but I'm thinking CASE is not the right option for this.
THANK YOU