Subject | Re: [firebird-support] Confused about JOINS, and how to solve the following |
---|---|
Author | Milan Babuskov |
Post date | 2006-08-13T09:06:37Z |
Richard Mace wrote:
from users_groups g
join users u on g.userid = u.id
where group_id in (list of groups);
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org
>>select distinct useridselect distinct u.id, u.whatever, u...
>>from users_groups
>>where group_id in (list of groups);
>
> Yes, I would need a lot more, so would need to use a JOIN, but am still
> learning.
> Could you give me an idea of the syntax please?
from users_groups g
join users u on g.userid = u.id
where group_id in (list of groups);
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org