>
Exams
>
Computer Science
>
SQL Queries
>
which clause amongst the following can be used alo
Question:
Which clause amongst the following can be used along with aggregate functions?
Show Hint
To perform aggregation on grouped data, always use GROUP BY along with SELECT to define which columns are used for aggregation.
CUET (UG) - 2023
CUET (UG)
Updated On:
Apr 24, 2025
Select
Group by
Where
Both Select and Group by
Hide Solution
Verified By Collegedunia
The Correct Option is
D
Solution and Explanation
Aggregate functions such as COUNT, SUM, AVG, etc., can be used with the SELECT and GROUP BY clauses in SQL. GROUP BY groups rows that have the same values in specified columns into summary rows, which is essential when using aggregate functions.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on SQL Queries
EMPLOYEE Table
Emp No
Ename
Salary
Bonus
DeptId
101
Aaliya
10000
234
D02
102
Kritika
60000
123
D01
103
Shabbir
45000
566
D01
104
Gurpreet
19000
565
D04
105
Joseph
34000
875
D03
106
Sanya
48000
695
D02
107
Vergeese
15000
NULL
D01
108
Nachaobi
29000
NULL
D05
109
Daribha
42000
NULL
D04
110
Tanya
50000
467
D05
What will be the output of the SQL query based on above EM PLOYEE table?
CUET (UG) - 2023
Computer Science
SQL Queries
View Solution
View All
Questions Asked in CUET exam
If 1st March 2023 was a Wednesday, what day of the week was 1st March 2024?
CUET (UG) - 2025
Clock and Calendar
View Solution
Which region was known as the ‘nursery of the Bengal Army’ as many sepoys were recruited from there?
CUET (UG) - 2025
British Empire
View Solution
A shopkeeper increases the price of an article by 25% and then offers a discount of 20%. What is the net percentage change in the price?
CUET (UG) - 2025
Percentage
View Solution
In a certain code, WATER is written as YCVGT. How is HOUSE written?
CUET (UG) - 2025
Coding Decoding
View Solution
A person walks 10 m North, then turns right and walks 5 m, then turns right again and walks 10 m. What direction is he facing now?
CUET (UG) - 2025
Direction sense
View Solution
View More Questions