-1

私には2つの関係があります

Author (authorId, authorName, country)

PrizeWinner (mAuthId, fAuthId, year)

どこ:

fk(mAuthId) -> authorId of Author 
fk(fAuthId) -> authorId of Author

PrizeWinner テーブルには、特定の年の最優秀作家賞を受賞した男性と女性のペアの ID が含まれています。

男性 (mAuthID) と女性の著者 (fAuthId) が同じ国の出身である場合、すべての受賞者のペアをリストする必要があります。

これに関するヘルプや手がかりは非常に高く評価されます。ありがとうございました。

4

1 に答える 1