1、 查询Student表中的所有记录的Sname、Ssex和Class列。 SQL语句:select sname,ssex,class from student Linq语句: from s in Students select new { s.SNAME, s.SSEX, s.CLASS } Lambda表达式: Students.Select( s => new { SNAME = s.SNAME,SSEX = s.SSEX,CLASS = s.CLASS })