>
>SELECT u.id, u.campaign_id, u.user_id, u.query_name, u.query_desc, v.voter_id
> FROM universes u
> JOIN universe_xref_voters v ON v.universe_id = u.id
> WHERE u.Campaign_Id = 134
> ORDER BY u.Query_Name
>
>
>Notice that I'm getting the universes tabel repeated 3 times. I should be getting back all 4 universe roes with a voter Id added on.
>>My ultimate goal is to get a result set of universes with a count of voters assigned to each, but I can't get past this.
you Need a Left join grouped on the id and a Field to Count the Universe recs.
Typung on the pad is Not so Great for Code - you should get the idea.
Regards
Thomas