Amazon Coding Question – Solved

10 Live
2. SQL: Ecommerce Deal Report An online shop needs a new deal history feature. Create a query that returns a list of the top three seller profiles with the highest total deals in June, 2022. The result should have the following columns: first_name / last_name | email | total. total - the total amount of all deals for a specific profile The result should be sorted in descending order by total. The result should be limited to the first three records. Note: Only deals for June 2022 should be included in the report.

Asked in: Amazon

Image of the Question

Question Image

All Testcases Passed βœ”



Passcode Image

Solution


Please login to view the solution


Related Questions

| Amazon has multiple delivery centers for the distribution of its goods. In one … |
| A user is using the Amazon fitness tracker and is engaged in a jumping exercise… |
| Amazon Kindle has several e-books that customers can purchase directly. There a… |
| The engineering team at an Amazon fulfillment center is optimizing n high-perfo… |
| The supply chain manager at one of Amazon's warehouses is shipping the last con… |
| Determine the highest value after executing n steps on an infinite 2D grid that… |