I have two related tables:
1) personal_detail s
2) company_details
both having "ID" as a primary key
I also have another table called mail. The mail table contains:
MailID primary key
SenderID, realted to the primary key of the above two tables
RecepientID, also related to the primary key of the above two tables
ONLY MailID, the primary key of mail, is known. And the aim of the game is to extract two rows of information from personal_detail s and company_details matching the SenderID and RecepientID contained in the mail table
PS. This is not a school project. I've been pulling out my hair for the last 3 months trying to find a solution to this little problem
1) personal_detail s
2) company_details
both having "ID" as a primary key
I also have another table called mail. The mail table contains:
MailID primary key
SenderID, realted to the primary key of the above two tables
RecepientID, also related to the primary key of the above two tables
ONLY MailID, the primary key of mail, is known. And the aim of the game is to extract two rows of information from personal_detail s and company_details matching the SenderID and RecepientID contained in the mail table
PS. This is not a school project. I've been pulling out my hair for the last 3 months trying to find a solution to this little problem
Comment