Posted by staeri on 02/23/06 12:42
I have the two following tables:
tblProject:
ProjectID
5001
5002
6001
6002
7001
7002
tblProject_type:
ProjectTypeID ProjectIDFrom ProjectIDTo
A 5000 5999
A 7000 7999
I need to create a SELECT statement which shows all records from
tblProjects WHERE ProjectTypeID = A. In this case every project except
6001 and 6002.
Unfortunately I can't have the ProjectTypeID in tblProject because each
project can belong to many project types. I know it sounds crazy but
that's the way my customers company is organized.
I'm very grateful for help in the right direction!
Regards,
S
Navigation:
[Reply to this message]
|