谁能解释为什么这段代码会导致错误?
<asp:EntityDataSource ID="EntityDataSource1" runat="server"
ContextTypeName="bookingModel.bookingEntities"
EntitySetName="t_sessionSet"
Select="it.[t_session_id], it.[t_session_datetime], it.[t_session_location], it.[t_session_active], it.[t_session_notes], it.[t_session_trainer]"
GroupBy="it.[t_session_datetime]" >
</asp:EntityDataSource>
我得到的错误是:“标识符'it'无效,因为它既不包含在聚合函数中,也不包含在 GROUP BY 子句中。”