SELECT * FROM facebook JOIN linkedin ON facebook.name = linkedin.name SELECT * FROM facebook JOIN linkedin WHERE facebook.name = linkedin.name SELECT * FROM facebook, linkedin WHERE facebook.name = linkedin.name