How do I query that I get a distinct clubName based on my query? Below is the website to demo the sql query.
http://www.sqlfiddle.com/#!2/54be8b/6
Here is the query used in the SQL fiddle:
SELECT DISTINCT c.ClubName, c.*, p.*
from Club c inner join Persons p on p.clubName = c.clubName;
Output should be
ManUtd
Barcelona
with 4 rows