Final answer:
The correct SQL query is Option B, which selects firstname, lastname, and customer# for the entries where referred_customer# is not null, showing the referrer's names alongside their referred customer's ID.
Step-by-step explanation:
The question is about writing SQL queries to display certain information from a customers database table. The correct query to display the firstname and lastname of the individual who referred another customer, along with the customer# of the referred customer is Option B:
SELECT firstname, lastname, customer# FROM customers WHERE referred_customer# IS NOT NULL;
This query selects the firstname, lastname, and customer number from the customers table where the referred_customer# field is not null, indicating that the listed customers were referred by someone.