I am trying to do a query that is way over my head. I am trying to get phone numbers for student contacts. Each student may have 1-8 contacts with different phone numbers.
StudentID ContactType PhoneNumber
1 Emergency Contact 6301234567
2 Father 6301234567