SQL Interview | "Immediate Food Delivery II" | SQL 50 | Leetcode Problem 1174 | row_number function

Publié le: 08 octobre 2023
sur la chaîne: Manvi Jha
195
3

Leetcode Medium Problem

Write a solution to find the percentage of immediate orders in the first orders of all customers, rounded to 2 decimal places.

Return the result table in any order.

I have solved this question using row_number(). The ROW_NUMBER() is a window function that assigns a sequential integer number to each row in the query's result set.
The runtime of my solution beats 99.96% 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.

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 | "Immediate Food Delivery II" | SQL 50 | Leetcode Problem 1174 | row_number function durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Manvi Jha 08 octobre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 195 fois et il a aimé 3 téléspectateurs. Bon visionnage!