Hello all!.. I hope you don't mind me asking a quick SQL question? (well, I
hope it's quick..LOL)
I have two tables:
Que QueLookUp
AutoID | Info AutoID | Owner | Name
1 | Foobar 1 | Matt | 1
Where as the AutoID from Table1.. is a lookup to the Name field in Table2
so if I Was looking at this in Access.. I would see in Table 2.. 1, Matt,
FooBar..
that's great.. the issue is.. in SQL.. it returns the 1 as you see here.. I
need an SQL statment to pull
the record from the Info Field ..where Name = the autoID
Currently I have something like this:
SELECT Que
FROM Que, QueLookUp
WHERE Que.AutoID = QueLookUp.Queue
AND QueLookUp.Owner = 3;
and that's not working.... any ideas?
- [aspsqlhowto] member pogowolf@hotmail.com
- ******
Darkness... Bleakness...
and Plastic forks...
--The PogoWolf
hope it's quick..LOL)
I have two tables:
Que QueLookUp
AutoID | Info AutoID | Owner | Name
1 | Foobar 1 | Matt | 1
Where as the AutoID from Table1.. is a lookup to the Name field in Table2
so if I Was looking at this in Access.. I would see in Table 2.. 1, Matt,
FooBar..
that's great.. the issue is.. in SQL.. it returns the 1 as you see here.. I
need an SQL statment to pull
the record from the Info Field ..where Name = the autoID
Currently I have something like this:
SELECT Que
FROM Que, QueLookUp
WHERE Que.AutoID = QueLookUp.Queue
AND QueLookUp.Owner = 3;
and that's not working.... any ideas?
- [aspsqlhowto] member pogowolf@hotmail.com
- ******
Darkness... Bleakness...
and Plastic forks...
--The PogoWolf