Skip to content
Advertisement

Inputting data into a table from two different tables

I have these 3 tables with data

and then created a third table that looks like this

I want to populate my new table with the Subjects who were involved in projects that were lead by Dawn Elgar (PID is 10001). Is there a way to do that across 3 tables? I am close with code that looks like this

but am trying to get the data in there across all the three tables instead, using the ProjectId and the PID. Is this possible?

Advertisement

Answer

you can use select with inner join statement

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement