I have a database containing details of schools their fantasy 'record companies' and their artists.
I need a query to be made of the following 4 tables.
tblSchool(SchoolID, schoolName)
tblCompanies(companyID, schoolID, CompanyName)
tblMembers(memberID, companyID, MemberName)
tblPortfolio(portfolioID, companyID, artistID)
I'm not sure its possible but just in case. Could I have a query to show the school name, company name, names of members and names of artist without duplication.
With a normal query I get:
School A, Caompany 1, Fred, Green Day
School A, Caompany 1, Fred, Britney Spears
School A, Caompany 1, Jim, Green Day
School A, Caompany 1, Jim, Britney Spears
School A, Company 2 ...........
I need to show each artist and member only once for each company.
The reason I need this is to be used in a Reprort to show:
Shool Name 1
Company Name 1
Member 1
Member 2
Member 3
Artist 1
Artist 2
Am I asking the impossible?
Any help would be greatly appreciated.
I need a query to be made of the following 4 tables.
tblSchool(SchoolID, schoolName)
tblCompanies(companyID, schoolID, CompanyName)
tblMembers(memberID, companyID, MemberName)
tblPortfolio(portfolioID, companyID, artistID)
I'm not sure its possible but just in case. Could I have a query to show the school name, company name, names of members and names of artist without duplication.
With a normal query I get:
School A, Caompany 1, Fred, Green Day
School A, Caompany 1, Fred, Britney Spears
School A, Caompany 1, Jim, Green Day
School A, Caompany 1, Jim, Britney Spears
School A, Company 2 ...........
I need to show each artist and member only once for each company.
The reason I need this is to be used in a Reprort to show:
Shool Name 1
Company Name 1
Member 1
Member 2
Member 3
Artist 1
Artist 2
Am I asking the impossible?
Any help would be greatly appreciated.