Distinct Friend Requests
Count the number of unique sender-receiver pairs in the friend requests. Return a single column unique_requests.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| unique_requests |
|---|
| 6 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in