Of course - glad to help.
There’s a quirk you’ll experience while working with the exp_channel_data table… that table has an entry_id and a channel_id… but it does NOT carry the author_id - it is only able to be referenced by joining back to the channel_titles table.
BUT - remember that you are grouping by the member_id… so you will only get ONE referral_member_name for each author in this example? (if each member have multiple referrals… then you’ll only see the first one) - is this a desired result?
SELECT
exp_member_data.m_field_id_6 as first_name,
exp_member_data.m_field_id_7 as last_name,
exp_member_data.member_id as author_member_id,
exp_channel_data.field_id_430 as referral_member_name
FROM
exp_member_data,
exp_channel_titles,
exp_channel_data
WHERE
exp_member_data.member_id = exp_channel_titles.author_id
AND
exp_channel_data.entry_id = exp_channel_titles.entry_id
AND
exp_channel_titles.channel_id = 59
GROUP BY
exp_member_data.member_id
(untested, but should be close)