0% found this document useful (0 votes)
18 views

DMi Lab Record

Uploaded by

desalegnabibual
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

DMi Lab Record

Uploaded by

desalegnabibual
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Debre Tabor University

Faculty of technology
Department of Information Technology (MSc)
Data Mining Laboratory Record

Prepared by: - Amsayaw Gashaw 1016


Berhanu Baye 1017
Mandie Gedefaw 1022
` Mestayt Ayalew 1023

Submitted to: - Dr. Bhoom


Filter Mapping

1|Page
Router Mapping

Joiner Mapping

2|Page
Sorter Mapping

3|Page
Expression Mapping

4|Page
Aggregator Mapping

5|Page
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jun 13 04:43:37 2022

Copyright (c) 1982, 2005, Oracle. All rights reserved.

SQL> connect system/1001

Connected.

SQL> create table course(cid number(4) primary key, cname varchar(12) not null, ch number(3));

Table created.

SQL> create table student1(sid number(3) primary key, sname varchar2(20), dept varchar2(20), cid
number(4) references course(cid));

Table created.

SQL> desc course;

Name Null? Type

----------------------------------------- -------- ----------------------------

CID NOT NULL NUMBER(4)

CNAME NOT NULL VARCHAR2(12)

CH NUMBER(3)

SQL> desc student1

Name Null? Type

----------------------------------------- -------- ----------------------------

SID NOT NULL NUMBER(3)

SNAME VARCHAR2(20)

DEPT VARCHAR2(20)

CID NUMBER(4)

SQL> insert into course values(&cid,'&cname',&ch);

6|Page
Enter value for cid: 1001

Enter value for cname: Data Mining

Enter value for ch: 3

old 1: insert into course values(&cid,'&cname',&ch)

new 1: insert into course values(1001,'Data Mining',3)

1 row created.

SQL> insert into student1 values(&sid,'&sname','&dept',&cid);

Enter value for sid: 106

Enter value for sname: Amsayaw

Enter value for dept: IT

Enter value for cid: 1001

old 1: insert into student1 values(&sid,'&sname','&dept',&cid)

new 1: insert into student1 values(106,'Amsayaw','IT',1001)

1 row created.

SQL> select * from course;

CID CNAME CH

---------- ------------ ----------

1001 Data Mining 3

SQL> select * from student1;

SID SNAME DEPT CID

---------- -------------------- -------------------- ----------

106 Amsayaw IT 1001

SQL> update student1 set sname='Berhanu' where sid=106;

7|Page
1 row updated.

SQL> select * from student1;

SID SNAME DEPT CID

---------- -------------------- -------------------- ----------

106 Berhanu IT 1001

SQL> commit;

Commit complete.

SQL> delete from student1 where sid=106;

1 row deleted.

SQL> select * from student1;

no rows selected

SQL> roll back;

Rollback complete.

SQL> select * from student1;

SID SNAME DEPT CID

---------- -------------------- -------------------- ----------

106 Berhanu IT 1001

SQL> alter table student1 add address varchar2(25);

8|Page
Table altered.

SQL> select * from student1;

SID SNAME DEPT CID ADDRESS

---------- -------------------- -------------------- ---------- -------------------------

106 Berhanu IT 1001

9|Page

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy