obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
Prabhjot index
1. MCA 307,S/W LAB-VI ORACLE
1312794
INDEX
M.M. Institute of Computer Technology & Business Management,
Maharishi Markandeshwar University, Mullana (Ambala)
2. Topic Name
Sr.
Practical Name
No
.
MCA 307,S/W LAB-VI ORACLE
1
SQL
DDL
STATEMENTS
2
Pa
ge
No
.
Date
1312794
CREATE TABLE DEPT_YOUR
NAME WHERE
Col name Data type Size Attribute
Deptno number 2 Primary Key
Dname varchar2 20
Loc
varchar2 10
CREATE TABLE
EMP_YOURNAME WHERE
Col
Data Size Attributes
name
type
EmpID number 6
Primary Key
Empname varchar2 18 Names in
Upper case
EmpJob char 15
Not Null
Mgr
number 6 Foreign key
(empID)
References empID
of EMP_YOURNAME Table
EmpDOJ
date
EmpSalary number
9,2
Comm
number 7,2
Deptno
number 2 Foreign
Key(deptno)
References deptno of
DEPT_YOURNAME
The primary key attribute empID
should be named as ‘p_empID’,
foreign key Attribute Mgr should
be named as ‘f_mgr’ and Deptno
should be named as ‘f_deptno’
General Statements:
3.1. List all information about all
departments
3.2. List all deptID,empID and
their managers no in the
order from employee table.
3.3.
List empID and name of
managers whose
designation is
MANAGER.
M.M. Institute of Computer Technology & Business Management,
3.4.
List name of employees
Maharishi Markandeshwar University, Mullana (Ambala)
whose designation is either
ANALYST or
SALESMAN.
3.5.
List details of employees
DML
STATEMENTS
3
Signatur
e
3. MCA 307,S/W LAB-VI ORACLE
1312794
M.M. Institute of Computer Technology & Business Management,
Maharishi Markandeshwar University, Mullana (Ambala)