--B WRONG
--select avg(salary) from emp group by dept_id having avg(salary) > 1000;
--C WRONG
--select last_name from emp where upper(last_name) like 'A%';
--D WRONG
--Having is Used for Agg Functions. Single-row functions do not require grouping.
You are correct. In that case you would use HAVING
upvoted 2 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ArslanAltaf
2 months, 1 week agoyaya32
5 months, 3 weeks agoc818820
6 months, 1 week agojm9999
9 months, 1 week agozouve
1 year agomusafir
1 year agoMooonLight
1 year, 2 months agoRik92
1 year, 2 months ago