Q.

Which of the following queries are legal?

A. select deptno, count(deptno) from emp group by ename;
B. select deptno, count(deptno), job from emp group by deptno;
C. select deptno, avg(sal) from emp;
D. select deptno, avg(sal) from emp group by deptno;
Answer» D. select deptno, avg(sal) from emp group by deptno;
4.1k
0
Do you find this helpful?
25

Discussion

No comments yet