Error 2022-02-09 10:41:47 SELECT t1.*, t2.TaskCount, t2.TaskCompleted, 0 AS TrainingCount FROM ( SELECT position_student.PositionId, student.StudentId, student.ActualName, student.HeadPortrait, 0.0 AS CourseProcess FROM position_student left JOIN student ON student.StudentId = position_student.StudentId left JOIN solution_student ON student.StudentId = solution_student.StudentId -- INNER JOIN solution ON solution_student.SolutionId = solution.SolutionId -- INNER JOIN solutiondetail ON solution.SolutionId = solutiondetail.SolutionId -- INNER JOIN video ON solutiondetail.Id = video.SectionId GROUP BY student.StudentId ) AS t1 left ( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_student.EvaluatingTaskId ) AS TaskCount, count( DISTINCT pt_e_taskrecord.EvaluatingRecordId ) AS TaskCompleted FROM pt_e_evaltask_student LEFT JOIN pt_e_taskrecord ON pt_e_taskrecord.StudentId = pt_e_evaltask_student.StudentId GROUP BY pt_e_evaltask_student.StudentId ) AS t2 ON t1.StudentId = t2.StudentId where t1.PositionId=?p1 MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_' at line 24 在 MySql.Data.MySqlClient.MySqlStream.ReadPacket() 在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MyBasicLib.Data.Database.<>c.b__27_0(IDbCommand p) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 191 在 MyBasicLib.Data.Database.DoExecute[T](IDbCommand cmd, Func`2 func, Boolean closeConnection) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 237 Error 2022-02-09 10:42:03 SELECT t1.*, t2.TaskCount, t2.TaskCompleted, 0 AS TrainingCount FROM ( SELECT position_student.PositionId, student.StudentId, student.ActualName, student.HeadPortrait, 0.0 AS CourseProcess FROM position_student left JOIN student ON student.StudentId = position_student.StudentId left JOIN solution_student ON student.StudentId = solution_student.StudentId -- INNER JOIN solution ON solution_student.SolutionId = solution.SolutionId -- INNER JOIN solutiondetail ON solution.SolutionId = solutiondetail.SolutionId -- INNER JOIN video ON solutiondetail.Id = video.SectionId GROUP BY student.StudentId ) AS t1 left ( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_student.EvaluatingTaskId ) AS TaskCount, count( DISTINCT pt_e_taskrecord.EvaluatingRecordId ) AS TaskCompleted FROM pt_e_evaltask_student LEFT JOIN pt_e_taskrecord ON pt_e_taskrecord.StudentId = pt_e_evaltask_student.StudentId GROUP BY pt_e_evaltask_student.StudentId ) AS t2 ON t1.StudentId = t2.StudentId where t1.PositionId=?p1 MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_' at line 24 在 MySql.Data.MySqlClient.MySqlStream.ReadPacket() 在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MyBasicLib.Data.Database.<>c.b__27_0(IDbCommand p) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 191 在 MyBasicLib.Data.Database.DoExecute[T](IDbCommand cmd, Func`2 func, Boolean closeConnection) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 237 Error 2022-02-09 10:42:16 SELECT t1.*, t2.TaskCount, t2.TaskCompleted, 0 AS TrainingCount FROM ( SELECT position_student.PositionId, student.StudentId, student.ActualName, student.HeadPortrait, 0.0 AS CourseProcess FROM position_student left JOIN student ON student.StudentId = position_student.StudentId left JOIN solution_student ON student.StudentId = solution_student.StudentId -- INNER JOIN solution ON solution_student.SolutionId = solution.SolutionId -- INNER JOIN solutiondetail ON solution.SolutionId = solutiondetail.SolutionId -- INNER JOIN video ON solutiondetail.Id = video.SectionId GROUP BY student.StudentId ) AS t1 left ( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_student.EvaluatingTaskId ) AS TaskCount, count( DISTINCT pt_e_taskrecord.EvaluatingRecordId ) AS TaskCompleted FROM pt_e_evaltask_student LEFT JOIN pt_e_taskrecord ON pt_e_taskrecord.StudentId = pt_e_evaltask_student.StudentId GROUP BY pt_e_evaltask_student.StudentId ) AS t2 ON t1.StudentId = t2.StudentId where t1.PositionId=?p1 MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_' at line 24 在 MySql.Data.MySqlClient.MySqlStream.ReadPacket() 在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MyBasicLib.Data.Database.<>c.b__27_0(IDbCommand p) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 191 在 MyBasicLib.Data.Database.DoExecute[T](IDbCommand cmd, Func`2 func, Boolean closeConnection) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 237 Error 2022-02-09 10:42:28 SELECT t1.*, t2.TaskCount, t2.TaskCompleted, 0 AS TrainingCount FROM ( SELECT position_student.PositionId, student.StudentId, student.ActualName, student.HeadPortrait, 0.0 AS CourseProcess FROM position_student left JOIN student ON student.StudentId = position_student.StudentId left JOIN solution_student ON student.StudentId = solution_student.StudentId -- INNER JOIN solution ON solution_student.SolutionId = solution.SolutionId -- INNER JOIN solutiondetail ON solution.SolutionId = solutiondetail.SolutionId -- INNER JOIN video ON solutiondetail.Id = video.SectionId GROUP BY student.StudentId ) AS t1 left ( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_student.EvaluatingTaskId ) AS TaskCount, count( DISTINCT pt_e_taskrecord.EvaluatingRecordId ) AS TaskCompleted FROM pt_e_evaltask_student LEFT JOIN pt_e_taskrecord ON pt_e_taskrecord.StudentId = pt_e_evaltask_student.StudentId GROUP BY pt_e_evaltask_student.StudentId ) AS t2 ON t1.StudentId = t2.StudentId where t1.PositionId=?p1 MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_' at line 24 在 MySql.Data.MySqlClient.MySqlStream.ReadPacket() 在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MyBasicLib.Data.Database.<>c.b__27_0(IDbCommand p) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 191 在 MyBasicLib.Data.Database.DoExecute[T](IDbCommand cmd, Func`2 func, Boolean closeConnection) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 237 Error 2022-02-09 10:42:38 SELECT t1.*, t2.TaskCount, t2.TaskCompleted, 0 AS TrainingCount FROM ( SELECT position_student.PositionId, student.StudentId, student.ActualName, student.HeadPortrait, 0.0 AS CourseProcess FROM position_student left JOIN student ON student.StudentId = position_student.StudentId left JOIN solution_student ON student.StudentId = solution_student.StudentId -- INNER JOIN solution ON solution_student.SolutionId = solution.SolutionId -- INNER JOIN solutiondetail ON solution.SolutionId = solutiondetail.SolutionId -- INNER JOIN video ON solutiondetail.Id = video.SectionId GROUP BY student.StudentId ) AS t1 left ( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_student.EvaluatingTaskId ) AS TaskCount, count( DISTINCT pt_e_taskrecord.EvaluatingRecordId ) AS TaskCompleted FROM pt_e_evaltask_student LEFT JOIN pt_e_taskrecord ON pt_e_taskrecord.StudentId = pt_e_evaltask_student.StudentId GROUP BY pt_e_evaltask_student.StudentId ) AS t2 ON t1.StudentId = t2.StudentId where t1.PositionId=?p1 MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( SELECT pt_e_evaltask_student.StudentId, count( DISTINCT pt_e_evaltask_' at line 24 在 MySql.Data.MySqlClient.MySqlStream.ReadPacket() 在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MyBasicLib.Data.Database.<>c.b__27_0(IDbCommand p) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 191 在 MyBasicLib.Data.Database.DoExecute[T](IDbCommand cmd, Func`2 func, Boolean closeConnection) 位置 C:\Users\scar1\Desktop\New folder (2)\MyBasicLib.Data\Database.cs:行号 237