I am trying to transpose rows into columns but my rows per student are not always the same because different students take different classes. I have created three tables where STUDENT_CLASS_TB is my table and I have dummy tables STUDENT_1001_TB and STUDENT_1002_TB to merely show how I want the data to be displayed by Student. My Query needs to work for only 1 Student at a time.
I am attaching Scripts:
student_tables_23NOV2020.txt (3.14 KB)I had to suffix file with .TXT as it did not like a .SQL extension.
Thanks in advance.