Professional Documents
Culture Documents
Set 1 Creation of EMP Table and Insertion of Records
Set 1 Creation of EMP Table and Insertion of Records
------------------------------- ----------------------
DEPTNO NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13)
2.Display the structure of the table created in question 1.
3. Insert the following records in the table created in question 1.
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
4. List all the records of the table created in question 1.
5. Create a table name EMP_classrollno with following columns:
Name Type
------------------------------- ----------------------
EMPNO NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
6.Display the structure of the table created in question 5.
7.Insert the following records in the table created in question 5.