Professional Documents
Culture Documents
Create table EMP_8078 with the following fields: EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO INTEGER VARCHAR2 (20) VARCHAR2 (20) INTEGER DATE NUMBER (6, 2) NUMBER (4, 2) NUMBER PRIMARY KEY NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL
2)
3)
Change the size of the fields JOB from VARCHAR2 (20) to VARCHAR2(30)
4)
5)
6)
7)
8)
9)
10)
Display a list of different combinations of JOB & DEPTNO from the Table SHUBHAM_8078
10
11)
11
12)
Display the Name of Employee and the Total Annual Salary of the Employee in the Table SHUBHAM_8078
12
13)
Combine Employee name & Employee no. under the heading EMPLOY
13
14)
Display all the records of the Table SHUBHAM_8078 which is sorted by Employee name
14
15)
Display all the records from the table SHUBHAM_8078 which is sorted by hiredate latest by first
15
16)
Display all the records from the table SHUBHAM_8078 in which SALARY is greater than 2000
16
17)
Display all the records from the table SHUBHAM_8078 which is sorted by all the SALESMAN
17
18)
Display all the records from the table SHUBHAM_8078 in which COMMITION is greater than SALARY.
18
19)
Display all the records from the table SHUBHAM_8078 in which JOB is of CLERK and SALARY is less than 1000
19
20)
Display all the records from the table SHUBHAM_8078 in which JOB is of CLERK or SALARY is less than 1000
20
21)
Display all the records from the table SHUBHAM_8078 in which SALARY is between 1000 and 2000
21
22)
Display all the records from the table SHUBHAM_8078 in which SALARY is between 1000 and 2000
22
23)
Display all the records from the table SHUBHAM_8078 whose MANAGER is 7698, 7839, 7566.
23
24)
Display all the records from the table SHUBHAM_8078 in which EMPLOYEE NAME starts with an alphabet S
24
25)
Display all the records from the table SHUBHAM_8078 in which EMPLOYEE NAME is a four letter name and the third letter is R
25
26)
Display all the records from the table SHUBHAM_8078 in which EMPLOYEE does not have a MANAGER.
26
27)
Display all the records from the table SHUBHAM_8078 in which DEPARTMENT NUMBER is not equal to 20
27
28)
Display all the records from the table SHUBHAM_8078 in which EMPLOYEE NAME ends with alphabet S.
28
29)
Display all the records from the table SHUBHAM_8078 in which SALARY is not equal to 1000.
29
30)
Display all the records from the table SHUBHAM_8078 which is sorted by hiredate in descending order.
30