Leetcode Medium Problem
Write an SQL query to find for each month and country, the number of transactions and their total amount, the number of approved transactions and their total amount.
Return the result table in any order.
I have used multiple CTEs for the query.
The runtime of my solution beats 77.14% of the users and memory beats 100% of the users.
This series will help you in SQL Interviews. All of these questions are present on Leetcode. Please go through the videos. Let me know your feedback and anything specific that you would like to see in the comments section. Please like and share
https://leetcode.com/studyplan/top-sq...
LinkedIn: / jha-manvi
GitHub: https://github.com/jha-manvi/LeetcodeSQL
Sur cette page du site, vous pouvez voir la vidéo en ligne SQL Interview | "Monthly Transactions I" | SQL 50 | Leetcode Medium Problem 1193 | Multiple CTEs durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Manvi Jha 11 octobre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 50 fois et il a aimé 0 téléspectateurs. Bon visionnage!