I wrote a database to help out at the school I teach. The administration software with which I need to connect is very picky. I have a table that looks like this:
Code:
ID CN
13 eng1001
210 sci1234
13 sci431
19 lang1111
210 lang 1111
13 math1234
etc. ID is the student ID, CN is the course number (alphanumeric) that students requested. I need to dump it into a tab delimted table that looks like this:
Code:
13 eng1001 sci431 math1234
210 lang1111 sci1234
19 lang1111
each student will have from 1 to 8 different courses that all need to appear on the same line. A dump directly to tab-delimited or excel would work.
Any ideas? Thought perhaps I needed a nested loop
thanks in advance for any help you can offer!
Joe