Question: help 1 1 What are the largest amounts for a sale item ( SalePrice * Quantity ) made to each customer ( first and last

help 11 What are the largest amounts for a sale item (SalePrice * Quantity) made to each customer (first and last names) during November 2015. Name the column MaxAmount. (Note Join across 3 tables required here)
```
SELECT
C.FirstName,
C.LastName,
MAX(SI.SalePrice * SI.Quantity) AS MaxAmount
FROM
Customer C
JOIN
Sale S ON C.CustomerID = S.CustomerID
JOIN
SaleItem SI ON S.SaleID = SI.SaleID
WHERE
S.SaleDate BETWEEN '2015-11-01' AND '2015-11-30'
GROUP BY
```
Record Count: 0
ERROR [HY000][Oracle][ODBC][Ora]ORA-01861: literal does not match format string
FEEDBACK
\(0/10\)(0.0\%)
Feedback:
- Ignoring case, "Month" could not be found in the query. (-1)
- Ignoring case, "Year" could not be found in the query. (-1)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows. (-6)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows where MaxAmount=150.(-1)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows where MaxAmount=75.2.(-1)
- The system was unable to execute your query so it could not evaluate if it produces a column named FirstName. (-1)
- The system was unable to execute your query so it could not evaluate if it produces a column named LastName. (-1)
- The system was unable to execute your query so it could not evaluate if it produces a column named MaxAmount. (-1)
FEEDBACK
\[
0\text {/}10\text {(0.0\%)}
\]
Feedback:
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows. (-4)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows where CustomerID='1613' and SaleID='193580' and SumSaleAmt='65.51.(-1)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows where CustomerID='11492' and SaleID='193581' and SumSaleAmt='484'.(-1)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows where CustomerID='5286' and SaleID='193582' and SumSaleAmt='32.75'.(-1)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows where CustomerID='7722' and SaleID='193583' and SumSaleAmt='45.58'.(-1)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows where CustomerID='7367' and SaleID='193584' and SumSaleAmt='356.17'.(-1)
- The system was unable to execute your query so it could not evaluate if it produces the correct number of rows where CustomerID='3039' and SaleID='193585' and SumSaleAmt='467.85'.(-1)
The system was unable to execute your query so it could not evaluate if it produces a column named CustomerID. (-1)
- The system was unable to execute your query so it could not evaluate if it produces a column named SaleID. (-1)
The system was unable to execute your query so it could not evaluate if it produces a column named SumSaleAmt. (-1)
help 1 1 What are the largest amounts for a sale

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 Programming Questions!