You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code with Senpai edited this page May 17, 2022
·
1 revision
SELECT
ROUND(
IFNULL(
(SELECT DISTINCTCOUNT(*) FROM (SELECT DISTINCT requester_id, accepter_id FROM RequestAccepted) AS A)
/
(SELECT DISTINCTCOUNT(*) FROM (SELECT DISTINCT sender_id, send_to_id FROM FriendRequest) AS B),
0)
, 2) AS accept_rate;