D
Dorian
When running the below query I get prompted for Query1.TicketID
I then have to enter something for it to run. If I don't, it returns an
empty result set. If I do, it returns the correct results (for every TicketID)
Why the prompt?
SELECT A.TicketID, A.TeamID, A.AssignDate
FROM tblAssign AS A
WHERE A.AssignDate = (SELECT MAX(A2.AssignDate) FROM tblAssign As A2 WHERE
A2.TicketID = A.TicketID);
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
I then have to enter something for it to run. If I don't, it returns an
empty result set. If I do, it returns the correct results (for every TicketID)
Why the prompt?
SELECT A.TicketID, A.TeamID, A.AssignDate
FROM tblAssign AS A
WHERE A.AssignDate = (SELECT MAX(A2.AssignDate) FROM tblAssign As A2 WHERE
A2.TicketID = A.TicketID);
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".