Search ⌘K
Visa
Visa

Foundations Track · Easy · 15 min

Bidirectional Transfer Pairs

Visa is reviewing bidirectional transfer pairs through a trend check. Count unique transfer relationships regardless of direction. Return relationship_count.

Foundations Track
Easy
15 min
query basics

Company labels are directional practice context, not official interview guidance.

Timer 00:00
Back to practice

Objective

Practice query basics through a Visa-tagged business scenario.

Approach

Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.

Company context

Company labels are directional practice context, not official interview guidance.

Visa is reviewing bidirectional transfer pairs through a trend check. Count unique transfer relationships regardless of direction. Return relationship_count.

money_transfers
transfer_id INT
sender_id INT
receiver_id INT
transfer_idsender_idreceiver_id
11020
22010
31030
43040
54030
61020
Editor
SQL workspace

Run queries against the protected question data, then submit once the result shape looks right.

Sign in to run SQL

Create a free account or sign in before running queries against protected question data.