759 views
0 votes
0 votes
If aggregate functions are used in the select clause along with attribute list we must use group by clause for grouping the attribute values ?

SELECT a1, COUNT(*) FROM Employee

Is above query  right or  wrong ?

Please log in or register to answer this question.

Related questions

2 votes
2 votes
1 answer
1
Parshu gate asked Nov 6, 2017
4,003 views
0 votes
0 votes
2 answers
2
shikharV asked Dec 8, 2015
570 views
ABC52110NULL21523In the above relation T the output of query:select * from T group by B;ABC10NULL2521Can anyone explain why this is the output?
2 votes
2 votes
2 answers
3
Tendua asked Dec 4, 2015
843 views
How does group by works. ya it make groups of the data . and what i know it will group the data. what what i found on running on the online tutorials is that , the group ...