Professional Documents
Culture Documents
VIVA
NAME: Ranjit Raj UID:20BCS9943
SECTION:44-B SUBJECT:LAB- DBMS
Q2.
Consider a relation Employee with following attributes:
Name Null Type
-------------------------------- ----------------------- -------------------------
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(3)
AGE NUMBER(3)
ESAL NUMBER(10)
************************************************************************
Questions:
A. List minimum , maximum , average salaries of employee.
B. What is the difference between maximum and minimum
salaries of employees in the organization?