M
margaret
I have a table (Class Table) ....
Class ID (Key), Division, Class Description, and Class
On my second table I have
Entry # (key), Division and Class
I need to take the Division and Class from the second table and get the
class description from the first table. If I create a relationship between
the class field in both table, I end up with 100,000 entries because the
Class can use the same number for different divisions. It's the combination
of the Division and Class that gives the Class description. I didn't write
this database or I would have done this differently. And I can't change the
orginal tables, because of that.
I have gone around this and figure that I need a SQL statement in my query
to make it work. However, I am lousy with SQL statements and can't figure it
out. Can someone help?
Thanks.
Class ID (Key), Division, Class Description, and Class
On my second table I have
Entry # (key), Division and Class
I need to take the Division and Class from the second table and get the
class description from the first table. If I create a relationship between
the class field in both table, I end up with 100,000 entries because the
Class can use the same number for different divisions. It's the combination
of the Division and Class that gives the Class description. I didn't write
this database or I would have done this differently. And I can't change the
orginal tables, because of that.
I have gone around this and figure that I need a SQL statement in my query
to make it work. However, I am lousy with SQL statements and can't figure it
out. Can someone help?
Thanks.