
[597_EASY] Friend Requests I : Overall Acceptance Rate
·
SQL/LeetCode
Problem Description – Write an SQL query to find the overall acceptance rate of requests, which is the number of acceptance divided by the number of requests. Return the answer rounded to 2 decimals places. Note That – The accepted requests are not necessarily from the table friend_request. In this case, Count the total accepted requests (no matter whether they are in the original requests), and..