superninja
superninja

Reputation: 3401

Syntax for Kusto Query With Count

If I have 3 columns that one student studies multiple subjects:

StudentID | Subject | SubjectScore

And I want to find the total number of subjects for each StudentID, what should be the syntax for Kusto query?

Upvotes: 0

Views: 208

Answers (1)

Joseph
Joseph

Reputation: 6259

It could be something like this one

TableName
| summarize TotalSubjects = count() by StudentID

don't forget to change TableName with your actual table name

Upvotes: 1

Related Questions