I'm looking for a query to display decimals only when decimals are present in column values. If it is not a decimal number, it should print normally.
ex :- if the column value is 5000, then my query output should be 5,000
If the column value is 1500.02 then my query output should be 1,500.02
Could you please help me with this?
Thanks,