human
Schema:
entrepreneur (Entrepreneur_ID, People_ID, Company, Money_Requested, Investor)
people (People_ID, Name, Height, Weight, Date_of_Birth)
Please answer with SQL.
assistant
Sure, I understand.
human
Show me the name of all investors.
assistant
SELECT Investor FROM entrepreneur GROUP BY Investor;
human
Who have invested in at least two entrepreneurs?
assistant
SELECT Investor FROM entrepreneur GROUP BY Investor HAVING COUNT( * ) >= 2 ;