class Program { static void Main(string[] args) { //Linq创建的数据库上下文对象db DataClasses2DataContext db = new DataClasses2DataContext(); //表连接查询,从Student表和Score表中根据Sno相同查Sno,Sname,Cno,Degree //相当于select Student.Sno,Sname,Cno,Degree from Studet,Score where S…