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 TranAmt column during each month in 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; FORMATcolumn nameexpressionC for currency format; MONTHTranDate to get month of the transaction date; YEARTranDate to get year of the transaction date; there are two types of transactions in the TranType column: purchase and returns, please consider only the purchase transactions.
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
