如下语句 Select [Name] as sUnit, count(*) as sTime from Cl_BreakRecord inner join Cl_Group On GroupID = Cl_Group.ID and DepartmentID = 3 group by [Name] order by sTime desc
在sql里测试时没有问题的 而在access里面却提示:不支持连接表达式。 到底是哪里的问题呢? 谢谢!access學習~~~ up SQL code: --try Select [Name] as sUnit, count(*) as sTime from Cl_BreakRecord ,Cl_Group where GroupID = Cl_Group.ID and DepartmentID = 3 group by [Name] order by sTime desc
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.OleDb; namespace DAL { public class DBHelp { ......