G
Guest
Hoping for some help here. I have two tables in my database that I'm trying
to join. A simplified example
TABLE1
Article Year
1 1995
2 1996
TABLE2
Article Author Position
1 Jones 1
2 Smith 1
2 Doe 2
2 Green 3
So, article 1 was just by Jones. Article 2 was by Smith, Doe and Green--in
that order.
I'd like to write a query to produce
ARTICLE YEAR AUTHOR_1 AUTHOR_2 AUTHOR_3
1 1995 Jones
2 1996 Smith Doe Green
I've tried about 17 million different approaches and am stumped. Can anyone
help! Thanks.
to join. A simplified example
TABLE1
Article Year
1 1995
2 1996
TABLE2
Article Author Position
1 Jones 1
2 Smith 1
2 Doe 2
2 Green 3
So, article 1 was just by Jones. Article 2 was by Smith, Doe and Green--in
that order.
I'd like to write a query to produce
ARTICLE YEAR AUTHOR_1 AUTHOR_2 AUTHOR_3
1 1995 Jones
2 1996 Smith Doe Green
I've tried about 17 million different approaches and am stumped. Can anyone
help! Thanks.