Database: customers_and_invoices
Question: What are the first names and ids for customers who have two or more accounts?
SQL:
SELECT T2.customer_first_name ,  T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  2