SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the COALESCE function to automatically return null values as 0. Syntax is as shown below:
SELECT COALESCE(total_amount, 0) from #Temp1