|
-
Jan 5th, 2005, 07:01 PM
#1
Thread Starter
Frenzied Member
More of an SQL question
I already have PHP do this but I am trying to trim the code down a bit.
I have 2 tables one contains users ids and group ids, another contains group ids and group names. I want to run a querry that gets all the group ids for a specific user and then uses that result to get the group name from the other table.
So something like
SELECT group_name FROM group_table WHERE group_id = (SELECT group_id WHERE user_id=3)
Possible?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|