Consider the following table structures related to a university for the below questions. EMPLOYEE
| NAME | VARCHAR(30) | NOT NULL |
| EID | VARCHAR(10) | NOT NULL |
| DEPTNO | INT(5) | NOT NULL |
| HODEID | VARCHAR(10) | |
| SALARY | INT(10) |
| DID | INT(5) | NOT NULL |
| DNAME | VARCHAR(30) | NOT NULL |
| HODID | VARCHAR(10) | NOT NULL |
| HODNAME | VARCHAR(30) |
| EMPID | VARCHAR(10) | NOT NULL |
| PROJNO | INT(5) | NOT NULL |
| PROJECTLOC | VARCHAR(30) | NOT NULL |
Given below are two statements to find the sum of salaries of all employees of the English department as well as the maximum, minimum and average salary in English department.
Statement I:
SELECT SUM(SALARY), MAX(SALARY), MIN(SALARY), AVG(SALARY)
FROM EMPLOYEE, DEPARTMENT
WHERE DEPTNO=DID
AND DNAME='ENGLISH';
Statement II:
SELECT SUM(SALARY), MAX(SALARY), MIN(SALARY), AVG(SALARY)
FROM EMPLOYEE, DEPARTMENT
WHERE DNAME='ENGLISH';
In the light of the above statements, choose the correct answer from the options given below:
Previous 10 Questions — UGC NET Computer Science Nov 2020 (Paper II)
Nearest first
1
2
3
4
5
6
7
8
9
10
Consider the following table structures related to a university for the below questions.
EMPLOYEE
…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
concern a disk with a sector size of $512$ bytes, $2000$ tracks per surface, $50$ sectors per track, five double-sided …
Topic: UGC NET Computer Science Nov 2020 (Paper II)
concern a disk with a sector size of $512$ bytes, $2000$ tracks per surface, $50$ sectors per track, five double-sided …
Topic: UGC NET Computer Science Nov 2020 (Paper II)
concern a disk with a sector size of $512$ bytes, $2000$ tracks per surface, $50$ sectors per track, five double-sided …
Topic: UGC NET Computer Science Nov 2020 (Paper II)
concern a disk with a sector size of $512$ bytes, $2000$ tracks per surface, $50$ sectors per track, five double-sided …
Topic: UGC NET Computer Science Nov 2020 (Paper II)
concern a disk with a sector size of $512$ bytes, $2000$ tracks per surface, $50$ sectors per track, five double-sided …
Topic: UGC NET Computer Science Nov 2020 (Paper II)
Given below are two statements:Statement I: A genetic algorithm is a stochastic hill-climbing search in which a large p…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
Given below are two statements:Statement I: In Caesar Cipher each letter of Plain text is replaced by another letter fo…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
Given below are two statements:Statement I: The laws of nature put two fundamental limits on the data rate of a channel…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
Given below are two statements:Statement I: The problem "Is $L_1\cap L_2=\phi$?" is undecidable for context sensitive l…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
Next 10 Questions — UGC NET Computer Science Nov 2020 (Paper II)
Ascending by ID
1
2
3
Consider the following table structures related to a university for the below questions.
EMPLOYEE
…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
Consider the following table structures related to a university for the below questions.
EMPLOYEE
…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
Consider the following table structures related to a university for the below questions.
EMPLOYEE
…
Topic: UGC NET Computer Science Nov 2020 (Paper II)