<University>
<RegistrationCode>12859</RegistrationCode>
<Colleges>
<College>
<CollegeCode>0001</CollegeCode>
<CollegeName>NIMS</CollegeName>
</College>
<College>
<CollegeCode>0002</CollegeCode>
<CollegeName>OXFORD</CollegeName>
</College>
</Colleges>
</University>
I want extract below out put from above XML using SQL Query. Can someone help me on this?
RegistrationCode CollegeCode CollegeName
-----------------------------------------------
12859 0001 NIMS
12859 0002 OXFORD