saman-arsenal
دوشنبه 11 مرداد 1395, 23:19 عصر
سلام خدمت مهندسان عزیز
دوستان من یک دستور ساده رو در sql server اجرا میگیرم اما بهم در مورد group by خطا میده
دستور من اینه :
select * from Factors group by m_ID
خطا هم اینه :
Msg 8120, Level 16, State 1, Line 1
Column 'Factors.ID' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
دوستان من یک دستور ساده رو در sql server اجرا میگیرم اما بهم در مورد group by خطا میده
دستور من اینه :
select * from Factors group by m_ID
خطا هم اینه :
Msg 8120, Level 16, State 1, Line 1
Column 'Factors.ID' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.