I have 2 tables tbl_Party and Link_Party
tbl_Party
Columns
PartyId - uniquekey,
PartyNAme,
sk_party,
Link table
link_party
Coulmns
PartyId_a,
PartyId_b,
linktype
Now Party table will have different partyids. Some of the parties from the party table could be linked to each other in the link table Now, I need to wrote a query like
select
partyid_a,
sk_party,
partyid_b,
sk_party
from
party,
link_party