Question: Write a SQL query to determine the how many friend requests were accepted, and write a second SQL query that shows the percentage of friend

 Write a SQL query to determine the how many friend requests

Write a SQL query to determine the how many friend requests were accepted, and write a second SQL query that shows the percentage of friend requests accepted.

friend_requests action_id requester_id requestee_id action_timestamp action_taken 1 1037392 3437315 2015-03-15 00:01:05 Requested 2 2138102 5438443 2015-03-15 00:01:07 Accepted 3 2331234 1231232 2015-03-15 00:01:08 Rejected

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!