Question: The two images you see are SQL statements that create table functions using SQL Server 2 0 1 9 . These are part of a
The two images you see are SQL statements that create table functions using SQL Server These are part of a project I've been working on The first query in the first image is meant to show the total sales for eachmonth The second query is meant to show the total sales for each size of dog house. While both are working fine, what I've been trying to figure out is how to display US dollar signs for "TotalSales" in the output for both statements. I know that the Format function is one way to format numbers into currency that display currency signs, and I've tried to implement that in my current statements, but with no success. How can the Format function be correctly implemented into my current SQL statements so that currency can be displayed in the output? Was there a different approach I had not considered?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
