Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

DMS Microproject

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 48

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

VIVEKANAND EDUCATION SOCIETY POLYTECHNIC

MICRO PROJECT
Academic year: 2018-19

TITLE OF PROJECT

REAL ESTATE AGENCY

Program: Computer Technology Program code:CM3I

Course: Database Management System Course code: 22318


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Certificate

This is to certify that Mr. /Ms. Vaishnavi Pawar, Rahul Jethani, Yash Rathod

Roll No. 31, 32, 33 of CM Semester of Diploma in Computer Technology Of Institute, VES
POLYTECHNIC (Code: 0004) has completed the Micro Project satisfactorily in Subject –
Database Management System (22319) for the academic year 2018- 2019. as prescribed in the
curriculum.

Place:Chembur, Mumbai Enrollment No: 1700040125

1700040126

1700040127

Date: 4th October, 2018 Exam Seat No:

Subject Teacher Head of the Department Principal

Mrs. Meena Talele Mr. Vikrant Joshi

College Seal
Group Details:

Sr.No Name of Group members Roll No Enrollment No Seat No

1 Vaishnavi Pawar 31 1700040125


2 Rahul Jethani 32 1700040126
3 Yash Rathod 33 1700040127

Name of Project Guide: Mrs Meena Talele


PART A - Plan
Format for Micro-Project Proposal

Title of Micro-Project

REAL ESTATE AGENCY


1.0 Brief Introduction
This is a semester wise microproject for the subject Database Management
System. The title of this project is ‘Real Estate Agency’ and it is performed by the
students of Group no.11-Vaishnavi Pawar, Rahul Jethani, Yash Rathod. This
project is given to let know of the skills that were taught of DBMS to the students.
This project is made with the help of SQL commands and queries.

2.0 Aim of the Micro-Project


This Micro-Project aims at: -
1. SQL Queries and commands understanding.
2. Team work and group handling.
3. Leadership qualities.
4. Time management qualities.
5. Analyzing the microproject.
6. Investigating and getting for information around the same.
7. Finding the right solution and getting the lessons learnt.
3.0 Action Plan (Sequence and time required for major activities for 8 Weeks)

S. No. Details of activity Planned Start Planned Name of Responsible


date Finish date Team Members

1 Finalization of project Title and 17/9/18 19/9/18 All three


Scope members

2 Project Definition and design 20/9/18 21/9/18 Rahul Jethani,


structure Yash Rathod

3 Draw ER Model 24/9/18 24/9/18 Vaishnavi Pawar

4 Coding 25/9/18 25/9/19 Vaishnavi Pawar

5 Coding 26/9/18 26/9/18 Vaishnavi Pawar

6 Coding 26/9/18 28/9/18 Rahul Jethani,


Yash Rathod

7 Report Writing 1/10/18 1/10/18 Yash Rathod

8 Demonstration of project and final 3/10/18 3/10/18 All three


submission members

4.0 Resources Required

S. No. Name of Specifications Qty Remarks


Resource/material

1 Hardware computer Computer (i3-i5 preferable), 1 I3 Processor


system RAM minimum 2 GB and
onwards but not limited to

2 Operating system Windows XP/windows 7/Linux 1 Windows 7


version 5 or later

3 software Turbo c version 3 or later with 1 Turbo C


DOSBOX
PART B (Outcomes after Execution and)
Format for Micro-Project Report
Title of Micro-Project
REAL ESTATE AGENCY

1.0 Brief Description


The title of the project is ‘Real Estate Agency’ and the project contains
four tables named Agents-Containing all the information of the agents working in
the agency, Land-Containing all the information about the locations and available
apartments, Customs-Containing all the information of the customers who have
applied to buy an apartment, Apt_Details- Containing all the information about
the apartments available and details about it. Each table containing more than
Fifteen rows of information. The ER-Model of how the agency works is provided
in the further pages.

2.0 Aim of Micro Project


These micro-projects are given to the students to make sure that all
of them have understood the basic concepts of the included subjects. Here-
Database management system is taken into consideration. These projects are for
the students to help analyze the given microproject, Investigate the project and
collect information of the same, build learning and group/problem handling
qualities, Finding the right solution to the problems and getting the lessons learnt.
These help students learn the abilities to control a situation and handle it properly
with careful steps and helps to build the time managing qualities as well.
3.0 Course Outcomes Integrated
(Add to the earlier list if more COs are addressed)
a) Create and manage database using SQL commands and queries.
b) Write PL/SQL code for given database.

4.0 Actual Procedure Followed.


Group members: -
1. 31-Vaishnavi Pawar
2. 32-Rahul Jethani
3. 33-Yash Rathod
All three group members first decided together on which topic the microproject was
going to be. After the selection of the microproject the information was collected
about the topic. As the information had been collected, the micro-project had been
started. The members in the group participated equally into the micro-project and
provided equal amount of help. The queries and commands were executed and
checked by the respective teacher.

ER diagram: -
Code: -

CREATE TABLES: -

AGENTS TABLE: -

SQL> create table agents


2 (aid number,
3 aname varchar(15),
4 aph number(10),
5 str number);
Table created.

SQL> desc agents;


Name Null? Type
----------------------------------------- -------- ----------------------------
AID NUMBER
ANAME VARCHAR2(15)
APH NUMBER(10)
STR NUMBER

LAND TABLE: -

SQL> create table land


2 (lid number,
3 state varchar2(15),
4 city varchar2(15),
5 lndmrk varchar2(35));
Table created.

SQL> alter table land add (loc varchar(8));


Table altered.

SQL> desc land;


Name Null? Type
----------------------------------------- -------- ----------------------------
LID NUMBER
STATE VARCHAR2(15)
CITY VARCHAR2(15)
LNDMRK VARCHAR2(35)
LOC VARCHAR2(8)

CUSTOMS TABLE: -

SQL> create table customs


2 (lidselected number,
3 cid number,
4 cname varchar(15),
5 cph number(10),
6 ccity varchar(10),
7 bid number);
Table created.

SQL> desc customs;


Name Null? Type
----------------------------------------- -------- ----------------------------
LIDSELECTED NUMBER
CID NUMBER
CNAME VARCHAR2(15)
CPH NUMBER(10)
CCITY VARCHAR2(10)
BID NUMBER

APT_DETAILS TABLE: -

SQL> create table apt_details


2 (lid number,
3 apnto number,
4 floor number,
5 blcny number,
6 bthroom number,
7 soldorno varchar(8));
Table created.

SQL> alter table apt_details add (bhk varchar(6));


Table altered.

SQL> desc apt_details;


Name Null? Type
----------------------------------------- -------- ----------------------------
LID NUMBER
APNTO NUMBER
FLOOR NUMBER
BLCNY NUMBER
BTHROOM NUMBER
SOLDORNO VARCHAR2(8)
BHK VARCHAR2(6)
INSERTION: -

AGENTS TABLE: -

SQL> insert into agents values(&aid,'&aname',&aph,&str);


Enter value for aid: 134
Enter value for aname: Ramesh P.
Enter value for aph: 9082660987
Enter value for str: 3
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(134,'Ramesh P.',9082660987,3)

1 row created.

SQL> /
Enter value for aid: 121
Enter value for aname: Jayesh K.
Enter value for aph: 8289892899
Enter value for str: 4
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(121,'Jayesh K.',8289892899,4)

1 row created.

SQL> /
Enter value for aid: 13
Enter value for aname: Mohan G.
Enter value for aph: 02266567372
Enter value for str: 3
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(13,'Mohan G.',02266567372,3)

1 row created.

SQL> /
Enter value for aid: 49
Enter value for aname: Mahesh J.
Enter value for aph: 8291912999
Enter value for str: 5
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(49,'Mahesh J.',8291912999,5)

1 row created.

SQL> /
Enter value for aid: 110
Enter value for aname: Darshan R.
Enter value for aph: 9969962899
Enter value for str: 4
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(110,'Darshan R.',9969962899,4)

1 row created.

SQL> /
Enter value for aid: 130
Enter value for aname: Ganpath R.
Enter value for aph: 7732773334
Enter value for str: 4
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(130,'Ganpath R.',7732773334,4)

1 row created.

SQL> /
Enter value for aid: 93
Enter value for aname: Ram N.
Enter value for aph: 7229808973
Enter value for str: 3
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(93,'Ram N.',7229808973,3)

1 row created.

SQL> /
Enter value for aid: 95
Enter value for aname: Lakshman H.
Enter value for aph: 02224154444
Enter value for str: 3
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(95,'Lakshman H.',02224154444,3)

1 row created.

SQL> /
Enter value for aid: 62
Enter value for aname: Ganesh G.
Enter value for aph: 8828992972
Enter value for str: 5
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(62,'Ganesh G.',8828992972,5)

1 row created.

SQL> /
Enter value for aid: 111
Enter value for aname: Kunal R.
Enter value for aph: 9090404050
Enter value for str: 5
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(111,'Kunal R.',9090404050,5)

1 row created.

SQL> /
Enter value for aid: 55
Enter value for aname: Sagar N.
Enter value for aph: 9090333432
Enter value for str: 4
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(55,'Sagar N.',9090333432,4)

1 row created.

SQL> /
Enter value for aid: 21
Enter value for aname: Hemanth D.
Enter value for aph: 7324474890
Enter value for str: 3
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(21,'Hemanth D.',7324474890,3)

1 row created.

SQL> /
Enter value for aid: 10
Enter value for aname: Raja K.
Enter value for aph: 8022355365
Enter value for str: 5
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(10,'Raja K.',8022355365,5)

1 row created.

SQL> /
Enter value for aid: 77
Enter value for aname: Farhan MH.
Enter value for aph: 9322308344
Enter value for str: 4
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(77,'Farhan MH.',9322308344,4)

1 row created.

SQL> /
Enter value for aid: 71
Enter value for aname: Ansh B.
Enter value for aph: 7732236645
Enter value for str: 4
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(71,'Ansh B.',7732236645,4)

1 row created.

SQL> /
Enter value for aid: 28
Enter value for aname: Tarun S.
Enter value for aph: 7337373347
Enter value for str: 4
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(28,'Tarun S.',7337373347,4)

1 row created.

SQL> /
Enter value for aid: 127
Enter value for aname: Jaswal K.
Enter value for aph: 9822033938
Enter value for str: 5
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(127,'Jaswal K.',9822033938,5)

1 row created.

SQL> /
Enter value for aid: 100
Enter value for aname: Manoj K.
Enter value for aph: 8329938938
Enter value for str: 3
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(100,'Manoj K.',8329938938,3)

1 row created.

SQL> /
Enter value for aid: 133
Enter value for aname: Sundarlal C.
Enter value for aph: 9220292092
Enter value for str: 3
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(133,'Sundarlal C.',9220292092,3)

1 row created.

SQL> /
Enter value for aid: 49
Enter value for aname: Ishaan Z.
Enter value for aph: 02224043343
Enter value for str: 5
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(49,'Ishaan Z.',02224043343,5)

1 row created.

SQL> /
Enter value for aid: 99
Enter value for aname: Kamlesh R.
Enter value for aph: 7298007344
Enter value for str: 5
old 1: insert into agents values(&aid,'&aname',&aph,&str)
new 1: insert into agents values(99,'Kamlesh R.',7298007344,5)

1 row created.

LAND TABLE: -

SQL> insert into land values(&lid,'&state','&city','&lndmrk','&loc');


Enter value for lid: 10920
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: SHANTI APTS.,Dadar
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10920,'Maharashtra','Mumbai','SHANTI APTS.,Dadar','West')
1 row created.

SQL> /
Enter value for lid: 10238
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: SUMAN COL, Dadar
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10238,'Maharashtra ','Mumbai','SUMAN COL, Dadar','West')

1 row created.

SQL> /
Enter value for lid: 10020
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: GANESH NGR, magarpatta
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10020,'Maharashtra','Pune ','GANESH NGR, magarpatta','East')

1 row created.

SQL> /
Enter value for lid: 10302
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: SHANTI VILA, hinjewadi
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10302,'Maharashtra','Pune','SHANTI VILA, hinjewadi','East')

1 row created.

SQL> /
Enter value for lid: 11102
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: SEASHINES, Marine line
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(11102,'Maharashtra','Mumbai','SEASHINES, Marine line ','East')

1 row created.
SQL> /
Enter value for lid: 12010
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: GODREJ COL, Vikroli
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(12010,'Maharashtra','Mumbai','GODREJ COL, Vikroli','West')

1 row created.

SQL> /
Enter value for lid: 10101
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: SAISUMAN APTS, Hinjewadi
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10101,'Maharashtra','Pune','SAISUMAN APTS, Hinjewadi','East')

1 row created.

SQL> /
Enter value for lid: 10001
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: BAY-SIDE BLDG, CST
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10001,'Maharashtra','Mumbai','BAY-SIDE BLDG, CST','East')

1 row created.

SQL> /
Enter value for lid: 10291
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: SAGAR SAI, Dadar
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10291,'Maharashtra','Mumbai','SAGAR SAI, Dadar','West')

1 row created.
SQL> /
Enter value for lid: 12991
Enter value for state: Maharashtra
Enter value for city: Pune.
Enter value for lndmrk: GANESHA BLDG, near RDK museum
Enter value for loc: Cent.
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(12991,'Maharashtra','Pune.','GANESHA BLDG, near RDK museum','Cent.')

1 row created.

SQL> /
Enter value for lid: 10311
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: TREEBO PARK, Hinjewadi
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10311,'Maharashtra','Pune','TREEBO PARK, Hinjewadi','West')

1 row created.

SQL> /
Enter value for lid: 13200
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: SAINATH RESI. , Naylor road
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(13200,'Maharashtra','Pune','SAINATH RESI. , Naylor road','East')

1 row created.

SQL> /
Enter value for lid: 20010
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: THE MYSTIC, Hinjewadi
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(20010,'Maharashtra','Pune','THE MYSTIC, Hinjewadi','East')

1 row created.

SQL> /
Enter value for lid: 10000
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: SPRINGS, SECT-2 hinjewadi
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10000,'Maharashtra','Pune','SPRINGS, SECT-2 hinjewadi','East')

1 row created.

SQL> /
Enter value for lid: 10001
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: KUMAR PROP. , Andheri
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10001,'Maharashtra','Mumbai','KUMAR PROP. , Andheri','East')

1 row created.

SQL> /
Enter value for lid: 10223
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: THE GETAWAYS, Vikroli
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10223,'Maharashtra','Mumbai','THE GETAWAYS, Vikroli','West')

1 row created.

SQL> /
Enter value for lid: 10290
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: CINNAMON SEAS, Mahim
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10290,'Maharashtra','Mumbai','CINNAMON SEAS, Mahim','West')

1 row created.

SQL> /
Enter value for lid: 01029
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: THE GETAWAYS, Hinjewadi
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(01029,'Maharashtra','Pune','THE GETAWAYS, Hinjewadi','East')

1 row created.

SQL> /
Enter value for lid: 20191
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: SUNDOWN DAYS, Hadapsar
Enter value for loc: Cent
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(20191,'Maharashtra','Pune ','SUNDOWN DAYS, Hadapsar','Cent')

1 row created.

SQL> /
Enter value for lid: 10901
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: SHIVAJI MH. APTS, Shivaji nagar
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10901,'Maharashtra','Pune','SHIVAJI MH. APTS, Shivaji nagar','West')

1 row created.

SQL> /
Enter value for lid: 10021
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: SUNSHINE BLDG, Thane
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10021,'Maharashtra','Mumbai ','SUNSHINE BLDG, Thane','East')

1 row created.

SQL> /
Enter value for lid: 20192
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: LUV-KUSH COL, Chembur
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(20192,'Maharashtra','Mumbai','LUV-KUSH COL, Chembur ','East')

1 row created.

SQL> /
Enter value for lid: 10034
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: LABORMUN PARK, Khardi
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(10034,'Maharashtra','Pune','LABORMUN PARK, Khardi','West')

1 row created.

SQL> /
Enter value for lid: 12304
Enter value for state: Maharashtra
Enter value for city: Pune
Enter value for lndmrk: MANSHREE APTS, Bhosri
Enter value for loc: West
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(12304,'Maharashtra','Pune','MANSHREE APTS, Bhosri','West')

1 row created.

SQL> /
Enter value for lid: 29019
Enter value for state: Maharashtra
Enter value for city: Mumbai
Enter value for lndmrk: EAST-SET, Mulund
Enter value for loc: East
old 1: insert into land values(&lid,'&state','&city','&lndmrk','&loc')
new 1: insert into land values(29019,'Maharashtra','Mumbai','EAST-SET, Mulund','East')

1 row created.

CUSTOMS TABLE: -

SQL> insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid);


Enter value for lidselected: 10238
Enter value for cid: 11
Enter value for cname: Naresh Patel
Enter value for cph: 9090303040
Enter value for ccity: Mumbai
Enter value for bid: 1200000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10238,11,'Naresh Patel',9090303040,'Mumbai',1200000)

1 row created.

SQL> /
Enter value for lidselected: 10302
Enter value for cid: 12
Enter value for cname: Rajendra Shivle
Enter value for cph: 8344663746
Enter value for ccity: Pune
Enter value for bid: 1300000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10302,12,'Rajendra Shivle',8344663746,'Pune',1300000)

1 row created.

SQL> /
Enter value for lidselected: 11102
Enter value for cid: 14
Enter value for cname: Gunjan Tempkar
Enter value for cph: 7786996879
Enter value for ccity: Mumbai
Enter value for bid: 1200000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(11102,14,'Gunjan Tempkar',7786996879,'Mumbai',1200000)

1 row created.

SQL> /
Enter value for lidselected: 10101
Enter value for cid: 15
Enter value for cname: Priyansh Shetty
Enter value for cph: 9304994030
Enter value for ccity: Pune
Enter value for bid: 3000000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10101,15,'Priyansh Shetty',9304994030,'Pune',3000000)

1 row created.
SQL> /
Enter value for lidselected: 10001
Enter value for cid: 16
Enter value for cname: Rutanshu Shinde
Enter value for cph: 9309309303
Enter value for ccity: Mumbai
Enter value for bid: 2000000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10001,16,'Rutanshu Shinde',9309309303,'Mumbai',2000000)

1 row created.

SQL> /
Enter value for lidselected: 12991
Enter value for cid: 18
Enter value for cname: Disha Patel
Enter value for cph: 8293899300
Enter value for ccity: Pune
Enter value for bid: 1400000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(12991,18,'Disha Patel',8293899300,'Pune',1400000)

1 row created.

SQL> /
Enter value for lidselected: 10311
Enter value for cid: 19
Enter value for cname: Farhaan Javed
Enter value for cph: 8039400394
Enter value for ccity: Pune
Enter value for bid: 1400000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10311,19,'Farhaan Javed',8039400394,'Pune',1400000)

1 row created.

SQL> /
Enter value for lidselected: 13200
Enter value for cid: 20
Enter value for cname: Krishi Patel
Enter value for cph: 7760606960
Enter value for ccity: Pune
Enter value for bid: 1300000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(13200,20,'Krishi Patel',7760606960,'Pune',1300000)

1 row created.

SQL> /
Enter value for lidselected: 10223
Enter value for cid: 24
Enter value for cname: Harshal Danny
Enter value for cph: 8009090998
Enter value for ccity: Mumbai
Enter value for bid: 2300000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10223,24,'Harshal Danny',8009090998,'Mumbai',2300000)

1 row created.

SQL> /
Enter value for lidselected: 10290
Enter value for cid: 25
Enter value for cname: Jignesh Rutari
Enter value for cph: 8992839928
Enter value for ccity: Mumbai
Enter value for bid: 2100000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10290,25,'Jignesh Rutari',8992839928,'Mumbai',2100000)

1 row created.

SQL> /
Enter value for lidselected: 1029
Enter value for cid: 26
Enter value for cname: Hetal Namdu
Enter value for cph: 8288384858
Enter value for ccity: Pune
Enter value for bid: 2100000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(1029,26,'Hetal Namdu',8288384858,'Pune',2100000)

1 row created.

SQL> /
Enter value for lidselected: 10901
Enter value for cid: 28
Enter value for cname: Hitesh Kumar
Enter value for cph: 8029929200
Enter value for ccity: Pune
Enter value for bid: 2200000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10901,28,'Hitesh Kumar',8029929200,'Pune',2200000)

1 row created.

SQL> /
Enter value for lidselected: 10021
Enter value for cid: 30
Enter value for cname: Danny Devito
Enter value for cph: 7888338389
Enter value for ccity: Mumbai
Enter value for bid: 2000000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(10021,30,'Danny Devito',7888338389,'Mumbai',2000000)

1 row created.

SQL> /
Enter value for lidselected: 20192
Enter value for cid: 31
Enter value for cname: Yogesh Dheer
Enter value for cph: 8339399203
Enter value for ccity: Mumbai
Enter value for bid: 1900000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(20192,31,'Yogesh Dheer',8339399203,'Mumbai',1900000)

1 row created.

SQL> /
Enter value for lidselected: 12304
Enter value for cid: 33
Enter value for cname: Rupesh Shetty
Enter value for cph: 8929929309
Enter value for ccity: Pune
Enter value for bid: 1500000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(12304,33,'Rupesh Shetty',8929929309,'Pune',1500000)

1 row created.

SQL> /
Enter value for lidselected: 29019
Enter value for cid: 34
Enter value for cname: Neha Savant
Enter value for cph: 7727337477
Enter value for ccity: Mumbai
Enter value for bid: 2300000
old 1: insert into customs values(&lidselected,&cid,'&cname',&cph,'&ccity',&bid)
new 1: insert into customs values(29019,34,'Neha Savant ',7727337477,'Mumbai',2300000)

1 row created.

APT_DETAILS TABLE: -

SQL> insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk');


Enter value for lid: 10920
Enter value for aptno: 203
Enter value for floor: 2
Enter value for blcny: 1
Enter value for bthroom: 2
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10920,203,2,1,2,'NOT SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 10238
Enter value for aptno: 1001
Enter value for floor: 10
Enter value for blcny: 2
Enter value for bthroom: 2
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10238,1001,10,2,2,'NOT SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 10020
Enter value for aptno: 304
Enter value for floor: 3
Enter value for blcny: 2
Enter value for bthroom: 2
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10020,304,3,2,2,'NOT SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 10302
Enter value for aptno: 1801
Enter value for floor: 18
Enter value for blcny: 3
Enter value for bthroom: 3
Enter value for soldorno: SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10302,1801,18,3,3,'SOLD','3BHK')

1 row created.

SQL> /
Enter value for lid: 11102
Enter value for aptno: 501
Enter value for floor: 5
Enter value for blcny: 4
Enter value for bthroom: 2
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(11102,501,5,4,2,'NOT SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 12010
Enter value for aptno: 1203
Enter value for floor: 12
Enter value for blcny: 3
Enter value for bthroom: 2
Enter value for soldorno: NOT SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(12010,1203,12,3,2,'NOT SOLD','3BHK')

1 row created.
SQL> /
Enter value for lid: 10101
Enter value for aptno: 702
Enter value for floor: 7
Enter value for blcny: 4
Enter value for bthroom: 3
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10101,702,7,4,3,'NOT SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 10001
Enter value for aptno: 4
Enter value for floor: 0
Enter value for blcny: 1
Enter value for bthroom: 3
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10001,4,0,1,3,'NOT SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 10291
Enter value for aptno: 603
Enter value for floor: 6
Enter value for blcny: 4
Enter value for bthroom: 3
Enter value for soldorno: SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10291,603,6,4,3,'SOLD','3BHK')

1 row created.

SQL> /
Enter value for lid: 12991
Enter value for aptno: 504
Enter value for floor: 5
Enter value for blcny: 2
Enter value for bthroom: 2
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(12991,504,5,2,2,'NOT SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 10311
Enter value for aptno: 404
Enter value for floor: 4
Enter value for blcny: 3
Enter value for bthroom: 3
Enter value for soldorno: NOT SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10311,404,4,3,3,'NOT SOLD','3BHK')

1 row created.

SQL> /
Enter value for lid: 13200
Enter value for aptno: 902
Enter value for floor: 9
Enter value for blcny: 4
Enter value for bthroom: 3
Enter value for soldorno: NOT SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(13200,902,9,4,3,'NOT SOLD','3BHK')

1 row created.

SQL> /
Enter value for lid: 20010
Enter value for aptno: 903
Enter value for floor: 9
Enter value for blcny: 4
Enter value for bthroom: 2
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(20010,903,9,4,2,'NOT SOLD','2BHK')

1 row created.
SQL> /
Enter value for lid: 10000
Enter value for aptno: 1002
Enter value for floor: 10
Enter value for blcny: 4
Enter value for bthroom: 3
Enter value for soldorno: NOT SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10000,1002,10,4,3,'NOT SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 10001
Enter value for aptno: 1904
Enter value for floor: 19
Enter value for blcny: 5
Enter value for bthroom: 4
Enter value for soldorno: NOT SOLD
Enter value for bhk: 4BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10001,1904,19,5,4,'NOT SOLD','4BHK')

1 row created.

SQL> /
Enter value for lid: 10223
Enter value for aptno: 1601
Enter value for floor: 16
Enter value for blcny: 4
Enter value for bthroom: 4
Enter value for soldorno: NOT SOLD
Enter value for bhk: 4BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10223,1601,16,4,4,'NOT SOLD','4BHK')

1 row created.

SQL> /
Enter value for lid: 10290
Enter value for aptno: 2101
Enter value for floor: 21
Enter value for blcny: 3
Enter value for bthroom: 3
Enter value for soldorno: SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10290,2101,21,3,3,'SOLD','3BHK')

1 row created.

SQL> /
Enter value for lid: 1029
Enter value for aptno: 2004
Enter value for floor: 20
Enter value for blcny: 4
Enter value for bthroom: 4
Enter value for soldorno: NOT SOLD
Enter value for bhk: 4BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(1029,2004,20,4,4,'NOT SOLD','4BHK')

1 row created.

SQL> /
Enter value for lid: 20191
Enter value for aptno: 1203
Enter value for floor: 12
Enter value for blcny: 2
Enter value for bthroom: 2
Enter value for soldorno: SOLD
Enter value for bhk: 2BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(20191,1203,12,2,2,'SOLD','2BHK')

1 row created.

SQL> /
Enter value for lid: 10901
Enter value for aptno: 1704
Enter value for floor: 17
Enter value for blcny: 5
Enter value for bthroom: 4
Enter value for soldorno: NOT SOLD
Enter value for bhk: 4BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10901,1704,17,5,4,'NOT SOLD','4BHK')
1 row created.

SQL> /
Enter value for lid: 10021
Enter value for aptno: 402
Enter value for floor: 4
Enter value for blcny: 5
Enter value for bthroom: 4
Enter value for soldorno: NOT SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10021,402,4,5,4,'NOT SOLD','3BHK')

1 row created.

SQL> /
Enter value for lid: 20192
Enter value for aptno: 1003
Enter value for floor: 10
Enter value for blcny: 3
Enter value for bthroom: 4
Enter value for soldorno: NOT SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(20192,1003,10,3,4,'NOT SOLD','3BHK')

1 row created.

SQL> /
Enter value for lid: 10034
Enter value for aptno: 805
Enter value for floor: 8
Enter value for blcny: 3
Enter value for bthroom: 3
Enter value for soldorno: NOT SOLD
Enter value for bhk: 3BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(10034,805,8,3,3,'NOT SOLD','3BHK')

1 row created.

SQL> /
Enter value for lid: 12304
Enter value for aptno: 2604
Enter value for floor: 26
Enter value for blcny: 5
Enter value for bthroom: 4
Enter value for soldorno: NOT SOLD
Enter value for bhk: 5BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(12304,2604,26,5,4,'NOT SOLD','5BHK')

1 row created.

SQL> /
Enter value for lid: 29019
Enter value for aptno: 2301
Enter value for floor: 23
Enter value for blcny: 5
Enter value for bthroom: 4
Enter value for soldorno: NOT SOLD
Enter value for bhk: 5BHK
old 1: insert into apt_details values(&lid,&aptno,&floor,&blcny,&bthroom,'&soldorno','&bhk')
new 1: insert into apt_details values(29019,2301,23,5,4,'NOT SOLD','5BHK')

1 row created.

COMPLETED TABLES: -

AGENTS TABLE: -

SQL> select * from agents;

AID ANAME APH STR


---------- --------------- ------------------ ----------
134 Ramesh P. 9082660987 3
121 Jayesh K. 8289892899 4
13 Mohan G. 2266567372 3
49 Mahesh J. 8291912999 5
110 Darshan R. 9969962899 4
130 Ganpath R. 7732773334 4
93 Ram N. 7229808973 3
95 Lakshman H. 2224154444 3
62 Ganesh G. 8828992972 5
111 Kunal R. 9090404050 5
55 Sagar N. 9090333432 4
21 Hemanth D. 7324474890 3
10 Raja K. 8022355365 5
77 Farhan MH. 9322308344 4
71 Ansh B. 7732236645 4
28 Tarun S. 7337373347 4
127 Jaswal K. 9822033938 5
100 Manoj K. 8329938938 3
133 Sundarlal C. 9220292092 3
49 Ishaan Z. 2224043343 5
99 Kamlesh R. 7298007344 5

21 rows selected.

LAND TABLE: -

SQL> select * from land;

LID STATE CITY LNDMRK


---------- --------------- --------------- -----------------------------------
LOC
--------
10920 Maharashtra Mumbai SHANTI APTS.,Dadar
West

10238 Maharashtra Mumbai SUMAN COL, Dadar


West

10020 Maharashtra Pune GANESH NGR, magarpatta


East

10302 Maharashtra Pune SHANTI VILA, hinjewadi


East

11102 Maharashtra Mumbai SEASHINES, Marine line


East

12010 Maharashtra Mumbai GODREJ COL, Vikroli


West

10101 Maharashtra Pune SAISUMAN APTS, Hinjewadi


East

10001 Maharashtra Mumbai BAY-SIDE BLDG, CST


East

10291 Maharashtra Mumbai SAGAR SAI, Dadar


West

12991 Maharashtra Pune. GANESHA BLDG, near RDK museum


Cent.

10311 Maharashtra Pune TREEBO PARK, Hinjewadi


West

13200 Maharashtra Pune SAINATH RESI. , Naylor road


East

20010 Maharashtra Pune THE MYSTIC, Hinjewadi


East

10000 Maharashtra Pune SPRINGS, SECT-2 hinjewadi


East

10001 Maharashtra Mumbai KUMAR PROP. , Andheri


East

10223 Maharashtra Mumbai THE GETAWAYS, Vikroli


West

10290 Maharashtra Mumbai CINNAMON SEAS, Mahim


West

1029 Maharashtra Pune THE GETAWAYS, Hinjewadi


East

20191 Maharashtra Pune SUNDOWN DAYS, Hadapsar


Cent

10901 Maharashtra Pune SHIVAJI MH. APTS, Shivaji nagar


West

10021 Maharashtra Mumbai SUNSHINE BLDG, Thane


East

20192 Maharashtra Mumbai LUV-KUSH COL, Chembur


East

10034 Maharashtra Pune LABORMUN PARK, Khardi


West

12304 Maharashtra Pune MANSHREE APTS, Bhosri


West

29019 Maharashtra Mumbai EAST-SET, Mulund


East

25 rows selected.

CUSTOMS TABLE: -

LIDSELECTED CID CNAME CPH CCITY BID


-------------------- ---------- ------------------------- ---------------- ----------- ------------
10238 11 Naresh Patel 9090303040 Mumbai 1200000
10302 12 Rajendra Shivle 8344663746 Pune 1300000
11102 14 Gunjan Tempkar 7786996879 Mumbai 1200000
10101 15 Priyansh Shetty 9304994030 Pune 3000000
10001 16 Rutanshu Shinde 9309309303 Mumbai 2000000
12991 18 Disha Patel 8293899300 Pune 1400000
10311 19 Farhaan Javed 8039400394 Pune 1400000
13200 20 Krishi Patel 7760606960 Pune 1300000
10223 24 Harshal Danny 8009090998 Mumbai 2300000
10290 25 Jignesh Rutari 8992839928 Mumbai 2100000
1029 26 Hetal Namdu 8288384858 Pune 2100000
10901 28 Hitesh Kumar 8029929200 Pune 2200000
10021 30 Danny Devito 7888338389 Mumbai 2000000
20192 31 Yogesh Dheer 8339399203 Mumbai 1900000
12304 33 Rupesh Shetty 8929929309 Pune 1500000
29019 34 Neha Savant 7727337477 Mumbai 2300000

16 rows selected.

APT_DETAILS: -

SQL> select * from apt_details;

LID APNTO FLOOR BLCNY BTHROOM SOLDORNO BHK


----------- ---------- -------------- --------------- ------------------ ----------------- ---------
10920 203 2 1 2 NOT SOLD 2BHK
10238 1001 10 2 2 NOT SOLD 2BHK
10020 304 3 2 2 NOT SOLD 2BHK
10302 1801 18 3 3 SOLD 3BHK
11102 501 5 4 2 NOT SOLD 2BHK
12010 1203 12 3 2 NOT SOLD 3BHK
10101 702 7 4 3 NOT SOLD 2BHK
10001 4 0 1 3 NOT SOLD 2BHK
10291 603 6 4 3 SOLD 3BHK
12991 504 5 2 2 NOT SOLD 2BHK
10311 404 4 3 3 NOT SOLD 3BHK
13200 902 9 4 3 NOT SOLD 3BHK
20010 903 9 4 2 NOT SOLD 2BHK
10000 1002 10 4 3 NOT SOLD 2BHK
10001 1904 19 5 4 NOT SOLD 4BHK
10223 1601 16 4 4 NOT SOLD 4BHK
10290 2101 21 3 3 SOLD 3BHK
1029 2004 20 4 4 NOT SOLD 4BHK
20191 1203 12 2 2 SOLD 2BHK
10901 1704 17 5 4 NOT SOLD 4BHK
10021 402 4 5 4 NOT SOLD 3BHK
20192 1003 10 3 4 NOT SOLD 3BHK
10034 805 8 3 3 NOT SOLD 3BHK
12304 2604 26 5 4 NOT SOLD 5BHK
29019 2301 23 5 4 NOT SOLD 5BHK

25 rows selected.

QUERIES: -
PL/SQL: -

SQL> declare
2 aid number:=&aid;
3 aname varchar2(15):='&aname';
4 aph number(10):=&aph;
5 str number:=&str;
6 begin
7 insert into agents values(aid,aname,aph,str);
8 end;
9 /
Enter value for aid: 101
old 2: aid number:=&aid;
new 2: aid number:=101;
Enter value for aname: Ramanathan S.
old 3: aname varchar2(15):='&aname';
new 3: aname varchar2(15):='Ramanathan S.';
Enter value for aph: 7727882938
old 4: aph number(10):=&aph;
new 4: aph number(10):=7727882938;
Enter value for str: 4
old 5: str number:=&str;
new 5: str number:=4;

PL/SQL procedure successfully completed.

SQL> select * from agents;


AID ANAME APH STR
---------- --------------- ---------------------- ----------
134 Ramesh P. 9082660987 3
121 Jayesh K. 8289892899 4
13 Mohan G. 2266567372 3
49 Mahesh J. 8291912999 5
110 Darshan R. 9969962899 4
130 Ganpath R. 7732773334 4
93 Ram N. 7229808973 3
95 Lakshman H. 2224154444 3
62 Ganesh G. 8828992972 5
111 Kunal R. 9090404050 5
55 Sagar N. 9090333432 4
21 Hemanth D. 7324474890 3
10 Raja K. 8022355365 5
77 Farhan MH. 9322308344 4
71 Ansh B. 7732236645 4
28 Tarun S. 7337373347 4
127 Jaswal K. 9822033938 5
100 Manoj K. 8329938938 3
133 Sundarlal C. 9220292092 3
49 Ishaan Z. 2224043343 5
99 Kamlesh R. 7298007344 5
101 Ramanathan S. 7727882938 4

22 rows selected.

SQL> select sum(bid) from customs;

SUM(BID)
----------
29200000

SQL> select * from agents order by aid asc;

AID ANAME APH STR


---------- ------------------------ ------------------- ----------
10 Raja K. 8022355365 5
13 Mohan G. 2266567372 3
21 Hemanth D. 7324474890 3
28 Tarun S. 7337373347 4
49 Ishaan Z. 2224043343 5
49 Mahesh J. 8291912999 5
55 Sagar N. 9090333432 4
62 Ganesh G. 8828992972 5
71 Ansh B. 7732236645 4
77 Farhan MH. 9322308344 4
93 Ram N. 7229808973 3
95 Lakshman H. 2224154444 3
99 Kamlesh R. 7298007344 5
100 Manoj K. 8329938938 3
101 Ramanathan S. 7727882938 4
110 Darshan R. 9969962899 4
111 Kunal R. 9090404050 5
121 Jayesh K. 8289892899 4
127 Jaswal K. 9822033938 5
130 Ganpath R. 7732773334 4
133 Sundarlal C. 9220292092 3
134 Ramesh P. 9082660987 3

22 rows selected.

SQL> select a.lid,b.lid from land a, apt_details b where a.lid=b.lid;

LID LID
---------- ----------
10920 10920
10238 10238
10020 10020
10302 10302
11102 11102
12010 12010
10101 10101
10001 10001
10001 10001
10291 10291
12991 12991
10311 10311
13200 13200
20010 20010
10000 10000
10001 10001
10001 10001
10223 10223
10290 10290
1029 1029
20191 20191
10901 10901
10021 10021
20192 20192
10034 10034
12304 12304
29019 29019

27 rows selected.

SQL> select a.lidselected,b.lid from customs a, apt_details b where a.lidselected=b.lid;

LIDSELECTED LID
-------------------- ----------
10238 10238
10302 10302
11102 11102
10101 10101
10001 10001
12991 12991
10311 10311
13200 13200
10001 10001
10223 10223
10290 10290
1029 1029
10901 10901
10021 10021
20192 20192
12304 12304
29019 29019

17 rows selected.

SQL> update agents set aid=82 where aname='Ishaan Z.';

1 row updated.

SQL> alter table agents add constraint agents_aid_pk primary key(aid);


Table altered.

SQL> desc agents;


Name Null? Type
---------------------------------- --------------- ----------------------------
AID NOT NULL NUMBER
ANAME VARCHAR2(15)
APH NUMBER(10)
STR NUMBER
SQL> select * from apt_details where bhk='3BHK';

LID APNTO FLOOR BLCNY BTHROOM SOLDORNO BHK


---------- --------------- -------------- -------------- ----------------- ----------------- --------
10302 1801 18 3 3 SOLD 3BHK
12010 1203 12 3 2 NOT SOLD 3BHK
10291 603 6 4 3 SOLD 3BHK
10311 404 4 3 3 NOT SOLD 3BHK
13200 902 9 4 3 NOT SOLD 3BHK
10290 2101 21 3 3 SOLD 3BHK
10021 402 4 5 4 NOT SOLD 3BHK
20192 1003 10 3 4 NOT SOLD 3BHK
10034 805 8 3 3 NOT SOLD 3BHK

9 rows selected.
SQL> select * from customs where bid>2000000;

LIDSELECTED CID CNAME CPH CCITY BID


--------------------- ---------- ----------------------- ------------------ --------------- ----------
10101 15 Priyansh Shetty 9304994030 Pune 3000000
10223 24 Harshal Danny 8009090998 Mumbai 2300000
10290 25 Jignesh Rutari 8992839928 Mumbai 2100000
1029 26 Hetal Namdu 8288384858 Pune 2100000
10901 28 Hitesh Kumar 8029929200 Pune 2200000
29019 34 Neha Savant 7727337477 Mumbai 2300000

6 rows selected.

SQL> commit;

Commit complete.

SQL> exit;
5.0 Actual Resources Used
S. No. Name of Specifications Qty Remarks
Resource/material

1 Hardware computer Computer (i3-i5 1 I3 Processor


system preferable),RAM minimum 2
GB and onwards but not
limited to

2 Operating system Windows XP/windows 1 Windows 7


7/Linux version 5 or later

3 software Turbo c version 3 or later 1 Turbo C


with DOSBOX

7.0 Skill Developed / learning out of this Micro-Project

These micro-projects are given to the students to make sure that all of
them have understood the basic concepts of the included subjects. Here-
Database management system is taken into consideration. These projects are for
the students to help analyze the given microproject, Investigate the project and
collect information of the same, build learning and group/problem handling
qualities, Finding the right solution to the problems and getting the lessons
learnt. These help students learn the abilities to control a situation and handle it
properly with careful steps and helps to build the time managing qualities as
well.
Suggested Rubric for Assessment of Micro-Project
S. Characteristic Poor Average Good Excellent
No. to be assessed ( Marks 1 - 3 ) ( Marks 4 - 5 ) ( Marks 6 - 8 ) ( Marks 9- 10 )

1 Relevance to the Relate to very few Related to some Take care of at-least Take care of more
course Los LOs one CO than one CO

2 information Not more than two At-least 5 relevant At –least 7 relevant About 10 relevant
collection sources (primary sources, at least 2 sources, most latest sources, most latest
(Project Design and secondary), latest
structure) very old reference

3 Completion of Completed less than Completed 50 to Completed 60 to Completed more


the Target as 50% 60% 80% than 80 %
per project
proposal

4 Sample Size small, Sufficient and Sufficient and Enough data


data neither appropriate sample, appropriate sample, collected by
organized nor enough data enough data sufficient and
presented well generated but not generated which is appropriate sample
organized and not organized and size. Proper
presented well. No presented well but inferences drawn by
or poor inferences poor inferences organising and
drawn drawn presenting data
through tables,
charts and graphs.

5 Incomplete Just Well Well


fabrication/assembl assembled/fabricate assembled/fabricate assembled/fabricate
y. d and parts are not d with proper d with proper
functioning well. functioning parts. functioning parts.
Not in proper shape, In proper shape, In proper shape,
dimensions beyond within tolerance within tolerance
tolerance limit. dimensions and dimensions and
Appearance/finish good good
is shabby. finish/appearance. finish/appearance.
But no creativity in Creativity in design
design and use of and use of material
material
6 Report Very short, poor Nearly sufficient Detailed, correct Very detailed,
Preparation quality sketches, and correct details and clear correct, clear
Details about about methods, description of description of
methods, material, material, methods, materials, methods, materials,
precaution and precautions and precautions and precautions and
conclusions omitted, conclusion. but Conclusions. conclusions.
some details are clarity is not there Sufficient Graphic Enough tables,
wrong in presentation. But Description. charts and sketches
not enough graphic
description.

7 Presentation Major information Includes major Includes major Well organized,


is not included, information but not information and includes major
information is not well organized and well organized but information ,well
well organized . not presented well not presented well presented

8 Defense Could not reply to Replied to Replied properly to Replied most of the
considerable considerable considerable questions properly
number of question. number of questions number of question.
but not very
properly
ANEEXURE II
Evaluation Sheet for the Micro Project
Academic Year: 2018-19 Name of the Faculty:Mrs.Meena Talele
Course: DMS Course code: 22319 Semester:III
Title of the project: REAL ESTATE AGENCY
Cos addressed by Micro Project:
(Tick appropriate COs)
A: Design Normalized database on given data [ ]
B: Create and manage database using SQL comand [ ]
C: Write PL/SQL code for given database [ ]
D: Apply triggers on database also create procedure and function according the condition. [ ]
E: Apply security and confidentiality on given database [ ]
Major learning outcomes achieved by students by doing the project: -
(a) Practical outcome: Draw ER-Model on the given database. Use DDL and DML commands
for queries. Use Arithmetic Operators in queries. Use select command with ‘Where’
condition and order by clause. Use PL/SQL for insertion. Use union into select command.

(b) Unit outcomes in Cognitive domain: Draw ER-Model of the given database and identify
relationship between the entities.

(c) Outcomes in Affective domain: Design normalized database on given data. Create and
manage database using SQL commands. Write PL/SQL codes for given database.

Comments/suggestions about team work /leadership/inter-personal communication (if any)


………………………………………………………………………………………………………

Marks out of 6 Marks out of


for performance 4for
Roll No Student Name in group activity performance in Total out of 10
(D5 Col.8) oral/
presentation
(D5 Col.9)
31 Vaishnavi Pawar
32 Rahul Jethani
33 Yash Rathod

(Signature of Faculty)
Micro-Project Evaluation Sheet

Process Assessment Product Assessment Total


Marks
Part A - Project Project PartB - Project individual
Proposal Methodology Report/Working Model Presentation/Viva 10
(2 marks) (2 marks) (2 marks) (4 marks)

Comments/Suggestions about team work/leadership/inter-personal communication (if any)


………………………………………………………………………………………………
……………………………………………………………………………………………..
……………………………………………………………………………………………..
……………………………………………………………………………………………..

Any Other Comment:


……………………………………………………………………………………………
……………………………………………………………………………………………
……………………………………………………………………………………………
………………………………………………………………………………………………

Name and designation of the Faculty Member: Mrs. Meena Talele

Signature……………………………
WEEKWISE REPORT
MICRO PROJECT
TOPIC:
Academic year:2018-19 Name of the faculty: Mrs. Meena Talele
Program code:CM3I Course & course code: 22319
Name of the candidate: Vaishnavi Pawar Roll No.31
Rahul Jethani 32
Yash Rathod 33
Enrollment No.1700040125
1700040126
1700040127 Semester: 3rd Semester, ‘I’ Scheme

SR.NO. WEEK ACTIVITY PERFORMED


1 1st week Finalization of project title and scope
2 2nd week Finalization of project title and scope
3 3rd week Finalization of project title and scope
th
4 4 week Project definition and design structure
th
5 5 week Project definition and design structure
6 6th week Project definition and design structure
th
7 7 week Design procedure(algorithm)
8 8th week Design procedure(algorithm)
th
9 9 week Draw ER-Model
th
10 10 week Draw ER-Model
11 11th week Coding
th
12 12 week Coding
13 13th week Coding
14 14th week Report Writing
15 15th week Report Writing
16 16th week Demonstration of project and final submission

Sign of the student Sign of the faculty


PROJECT PROPOSAL

PROJECT TITLE: REAL ESTATE AGENCY

RELATED COURSE OUTCOME /PRACTICAL OUTCOME:

CO:

Design normalized database on given data. Create and manage database using SQL
commands. Write PL/SQL codes for given database.

PrO:

Draw ER-Model on the given database. Use DDL and DML commands for queries.
Use Arithmetic Operators in queries. Use select command with ‘Where’ condition
and order by clause. Use PL/SQL for insertion. Use union into select command.

PROJECT ABSTRACT

The title of the project is ‘Real Estate Agency’ and the project contains
four tables named Agents-Containing all the information of the agents working
in the agency, Land-Containing all the information about the locations and
available apartments, Customs-Containing all the information of the customers
who have applied to buy an apartment, Apt_Details- Containing all the
information about the apartments available and details about it. Each table
containing more than Fifteen rows of information. The ER-Model of how the
agency works is provided in the further pages.
INDEX
Academic year: 2018-19 Name of the faculty: Mrs. Meena Talele
Program code: CM3I Course & course code: DMS (22319)
Name of the candidate: Vaishnavi Pawar Roll No. 31 Enrollment No. 1700040125
Rahul Jethani 32 1700040126
Yash Rathod 33 1700040127

Sr.N Content Page No.


o
1
Project Proposal

2
ER-Model

3
Coding

4
Output

You might also like