Php mysql query

Hi, I am trying to query two row results in a mysql database. Say the two rows are institutionname and paidmember. There are members who have the same institution name, who are not paid members, so I need to be able to have users see all institutions that have been paid. So far, my results have not worked. I can check institution names, and I can check paid members, but I cannot get an entire list of all institutions that have paid. Does anyone know the query string I need to use?

freebyrd “cannot login”