Question: SQL codeList the State, City, Month, Total Transaction amount ( Tran _ Amt column ) during each month in 2 0 1 5 for stores

SQL codeList the State, City, Month, Total Transaction amount (Tran_Amt column) during each month in 2015 for stores located in two cities in Texas, namely, Houston and Dallas. Summary rows with total transaction
amounts for these cities and overall total for these two cities should be displayed. (Note - Please refer to the Store and Transact tables; FORMAT(column name/expression,'C') for currency format; MONTH(Tran_Date) to get month of the transaction date; YEAR(Tran_Date) to get year of the transaction date; there are two types of transactions in the Tran_Type column: purchase and returns, please consider only the purchase transactions.)
 SQL codeList the State, City, Month, Total Transaction amount (Tran_Amt column)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!