Hi , to describe what i am looking for , please take a look to these 3 tables :
groups
=========
g_id,g_name
articles
=========
a_id,a_name
rels
=========
r_id,g_id,a_id
now i need a query to return :
g_name - a_name
if there is no article for any group, then a_name would be null
i tried select from groups and rels tables, but my result set doesn't contain groups that have no articles in rels table !
any idea ?