Hi it-discovery,
This is the query you need :
var Query = (from query in dataClass.Student
select new
{
name = query.name,
department = query.department,
school = query.school
}).Distinct();
This Query will select the output you need.
I hope this help,
Thank you,
:)