Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Databases Programming Interviews:BtrieveClipperData ModelingData StructuresDatabase AdministrationDatabase Administrator (DBA)Database AnalystDatabase DeveloperDB DevelopmentEDI/Data Integration ExpertFirebirdHierarchicalIBM DB2InformixJava DatabaseMariaDBMicrosoft Access DeveloperMongoDBMS SQL ServerMySQL ProgrammingNetworkNoSQLObject RelationalPostgrePostgreSQLProgressRDBMSRelationalSQLSQL AdministratorSQL and PL/SQLSQL Notification ServicesSQL server 2008SSRSStored ProcedureSybaseTeradata
Copyright © 2018. All Rights Reserved
MS SQL Server Interview Question:
What Are Group Functions in Query Statements in MS SQL Server?
Submitted by: AdministratorGroup functions are functions applied to a group of rows. Examples of group functions are:
* COUNT(*) - Returns the number of rows in the group.
* MIN(exp) - Returns the minimum value of the expression evaluated on each row of the group.
* MAX(exp) - Returns the maximum value of the expression evaluated on each row of the group.
* AVG(exp) - Returns the average value of the expression evaluated on each row of the group.
* SUM(exp) - Returns the sum value of the expression evaluated on each row of the group.
* COUNTDISTINCT(exp) - Returns the number of distinct values of the expression evaluated on each row of the group.
Submitted by: Administrator
* COUNT(*) - Returns the number of rows in the group.
* MIN(exp) - Returns the minimum value of the expression evaluated on each row of the group.
* MAX(exp) - Returns the maximum value of the expression evaluated on each row of the group.
* AVG(exp) - Returns the average value of the expression evaluated on each row of the group.
* SUM(exp) - Returns the sum value of the expression evaluated on each row of the group.
* COUNTDISTINCT(exp) - Returns the number of distinct values of the expression evaluated on each row of the group.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.