求救各位大侠 protected void SetBind() { try { sql = "select Sno as 学号 ,Sname as 姓名 ,deptName as 系名 ,StartDate as 入学时间 ,CreditHours as 学分 from Students,Depts where Students , Depts where Students.DeptNo = Depts.DeptNo";
------解决方案-------------------- 里面怎么有两个where不是应该一个吗
------解决方案-------------------- sql = "select Sno as 学号 ,Sname as 姓名 ,deptName as 系名 ,StartDate as 入学时间 ,CreditHours as 学分 from Students,Depts where Students , Depts where Students.DeptNo = Depts.DeptNo";