in Education by
Hi I have two tables here: Transcript Grade Student_number Course_number Semester Year A 8 MATH2410 Fall 07 A 8 CS1310 Fall 07 B 8 CS3320 Spring 08 B 17 MATH2410 Fall 08 C 17 CS1310 Fall 08 A 8 CS3380 Fall 08 Student Name Student_number Class Major Smith 17 1 CS Brown 8 2 CS As you can see, they have a common Student_number. I want a table that looks like this: Grade Student_number Course_number Semester Year Name A 8 MATH2410 Fall 07 Brown A 8 CS1310 Fall 07 Brown B 8 CS3320 Spring 08 Brown B 17 MATH2410 Fall 08 Smith C 17 CS1310 Fall 08 Smith A 8 CS3380 Fall 08 Brown How do I do this? I tried using insert and left join but neither worked. How do I achieve the third table? Thanks! JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
18 people have seen it, but none could figure out this question, so I did it myself with a bit of research. SELECT STUDENT.Name, TRANSCRIPT.Grade, TRANSCRIPT.Student_number, TRANSCRIPT.Course_number, TRANSCRIPT.Semester, TRANSCRIPT.Year FROM TRANSCRIPT LEFT JOIN STUDENT ON TRANSCRIPT.Student_number = STUDENT.Student_number

Related questions

0 votes
    Hi I have two tables here: Transcript Grade Student_number Course_number Semester Year A 8 MATH2410 Fall 07 ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 2, 2022 in Education by JackTerrance
0 votes
    The tables are: 1) Producers: id, name 2) Products: id, name, price, category_id, producer_id 3) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 11, 2022 in Education by JackTerrance
0 votes
    I got that table : id, user_a, user_b, score 1, 3, 7, 19 2, 8, 3, 20 3, 3, ... JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 3, 2022 in Education by JackTerrance
0 votes
    I got that table : id, user_a, user_b, score 1, 3, 7, 19 2, 8, 3, 20 3, 3, ... JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 3, 2022 in Education by JackTerrance
0 votes
    We are in the process to update an existing WordPress website and imported posts from one site to another. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 22, 2022 in Education by JackTerrance
0 votes
    We are in the process to update an existing WordPress website and imported posts from one site to another. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    We are in the process to update an existing WordPress website and imported posts from one site to another. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    We are in the process to update an existing WordPress website and imported posts from one site to another. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 1, 2022 in Education by JackTerrance
0 votes
    Im trying to insert the current date and a specific time into a table this is my query INSERT INTO ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    Im trying to insert the current date and a specific time into a table this is my query INSERT INTO ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    How to create empty tables with the same structure as another table?...
asked Dec 11, 2020 in Technology by JackTerrance
0 votes
    I have two different source structure tables, but I want to load into single target table? How do I go about it? Explain in detail through mapping flow....
asked Mar 28, 2021 by JackTerrance
0 votes
    Write the cartisian product of these tables and also write cardinality of resultant table after AxB:- 2 A NAME ... CRICKET 2 FOOTBALL Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Write the cartisian product of these tables and also write cardinality of resultant table after AxB:- 2 A NAME ... CRICKET 2 FOOTBALL Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
...