Hey all,
I need to join 2 tables like the following scenario below, can anyone enlighten me as to what type of join this would be (or better yet an example of how the query would be set up)?
.....
Example -
Student Table A has 5 columns (firstname, lastname, gender, section_A_id, section_B_id)
Student Table B has 2 columns (id, sectionname)
I want this returned in 1 record...
firstname, lastname, gender, section_A_id, section_B_id, sectionname(for section_A_id), sectionname (for section_B_id)
I need to join 2 tables like the following scenario below, can anyone enlighten me as to what type of join this would be (or better yet an example of how the query would be set up)?
.....
Example -
Student Table A has 5 columns (firstname, lastname, gender, section_A_id, section_B_id)
Student Table B has 2 columns (id, sectionname)
I want this returned in 1 record...
firstname, lastname, gender, section_A_id, section_B_id, sectionname(for section_A_id), sectionname (for section_B_id)
Comment