Diploma in Computer Engineering: Thakur Polytechnic

You might also like

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

THAKUR POLYTECHNIC

Diploma In Computer Engineering

SYCO A

THIRD SEMESTER [2020-2021]

GROUP NO-2

SUBJECT: DBMS

1. Aastha bhat(06)
2. Vidhi Chalke(07)
3. Shubham Dandekar(08)
4. Yash Dasouni(09)
5. Ralston D’cruz(10)

Guided by:- Mrs. Smita dandge

1|Page
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

CERTIFICATE

This is to certify the following group of students Roll no: 06 to 10 of 3rd semester of
diploma in Computer Engineering (CO) of institute , THAKUR POLYTECHNIC
(CODE:0522) has completed the Micro Project satisfactorily in subject-
DBMS(22319) for the academic year 2020-2021 as prescribed in curriculum.

Place: Enrollment No:


Date: Seat No:

Subject teacher Head of department Principal

Seal
Of Institute

2|Page
ACKNOWLEDGEMENT

In performing our project, we had to take the help and guideline of some respected
persons, who deserve our greatest gratitude. The completion of this project gives us
much pleasure.

We would like to show our gratitude to Mrs. Smita dangde and our respected HOD
Mrs. Vaishali Rane, Thakur Polytechnic for giving us a good guideline for project
throughout numerous consultations. We would also like to expand our deepest gratitude
to all those who have directly and indirectly guided us in making this project.

3|Page
PROPOSAL

4|Page
Microproject proposal
dbms

TITLE: CREATE PL/SQL PROCEDURE FOR


WITHDRAWAL OF AMOUNT IN BANK DATABASE.

BREIF INTRODUCTION :
1. PL/SQL stands for “Procedural Language extensions to the
Structured Query Language”.
2. SQL is a popular language for both querying and updating data in
the relational database management systems (RDBMS).
3. PL/SQL is an embedded language. PL/SQL only can execute in
an Oracle Database.
4. PL/SQL includes procedural language elements such as
conditions and loops.
5. It allows declaration of constants and variables, procedures and
functions, types and variables of those types, and triggers. It can
handle exceptions (run-time errors). 
6. PL/SQL gives high productivity to programmers as it can query,
transform, and update data in a database.

5|Page
Aim of the micro-project :
This micro-project Aims at :
1. Improve the chances of achieving the desired result.
2. Improve productivity and quality of work.
3. Gain a competitive and boost your bottom line .
4. Students will develop industry-orieanted course outcomes.
5. To develop cognitive domain and affected domain of
learning outcomes.

6|Page
Action plan

Sr. Planned Planned Name of


No Details of activity start date finished responsible team
. date members

1. Information search Aastha bhatt


Vidhi chalke
2. Making of proposal Shubham dndekar
Yash dasouni

3. Group discussion All team members

4. Compilation of Ralston d’cruze


report Aastha bhatt

5. presentation Yash dasouni


Vidhi chalke

7|Page
Resouces Required:

Sr. Name of specifications quantity remarks


no. resources

1. Google Search engine 1 available


chrome

2. My sql 10g 1 available

3. Computer Intel i3 1 available


system 6006u,8gb
ram

4. software oracle 1 available

8|Page
REPORT

9|Page
REPORT

1.0Rationale

In this project we have used one PC for accessing the internet and
developing a pl/sql procedure. The project revolves around the concept of
sql and its applications. SQL is used to communicate with a database.
According to ANSI (American National Standards Institute), it is the standard
language for relational database management systems. SQL statements are
used to perform tasks such as update data on a database, or retrieve data
from a database.

Aims / Benefits of the Micro-Project


SQL is used to communicate with a database.

2.0Course Outcome Achieve

To create pl/sql procedure for withdrawal of amount in bank


database system.
3.0Literature Review
What is a sql database?
 SQL stands for Structured Query Language
 SQL lets you access and manipulate databases

4.0Actual Methodology Followed

1.We recieved the overview of the project and understood the concept thoroughly.

2.Collected the information about implementing the concepts of menu driven


programs in the given micro-project.

3.Made the proposal.

4.Built the database of the micro-project and removed the errors.

10 | P a g e
5.Made the Report.

5.0Actual Resources Used

SR NO NAME OF SPECIFICATIO QUANTI REMARKS


SOURCE N TY
1. Computer System Intel i3 6006U, 1
8GB RAM
2. Software1 Windows 10 1
3. Software2 Oracle 10g 1

6.0 Outputs of Micro-Project

COMMANDS
CREATE OR REPLACE PROCEDURE withdrawal_proc
IS
account_no_in number(6);
bal_in number(20);
current_balance number(20);
BEGIN
select amount_Balance into current_balance from account where account_No
= account_no_in;

if current_balance < bal_in then


dbms_output.put_line('The amount entered is more than the amount
balance');
else
UPDATE account
set amount_Balance = bal_in - current_balance
where account_No = account_no_in;
end if;
dbms_output.put_line('Money has been withdrawn successfully');
END;
/

11 | P a g e
create table account(account_no number(5) primary key,account_account_name
varchar2(10),amount_balance number(10));
INSERT INTO account
VALUES(1,'yash',2000);
INSERT INTO account
VALUES(2,'harsh',1000);
INSERT INTO account
VALUES(3,'isha',3000);
INSERT INTO account
VALUES(4,'shradha',4000);
INSERT INTO account
VALUES(5,'omkar',5000);
INSERT INTO account
VALUES(6,'vidhi',6000);
INSERT INTO account
VALUES(7,'aastha',7000);
INSERT INTO account
VALUES(8,'ralston',8000);
INSERT INTO account
VALUES(9,'shubham',9000);
INSERT INTO account
VALUES(10,'om',10000);

OUTPUT :

ACCOUNT_NO BRANCH_NAME AMOUNT_BALANCE


---------- -------------------------------------------------- --------------
1 SEAN 32900
2 ROHIT 32000
3 JOSEPH 50000
4 DONALD 45000
5 ROMEO 20000
6 YASH 40000
7 VIDHI 60000
8 RALSTON 90000
9 AASTHA 55000
10 SHUBHAM 44000

7.0Skill Developed/ Learning outcome of this Micro-Project:

We learnt to use ORACLE and sql database. Studied how to create a successfully
running database in computer using sql language and procedure of withdarwal of
amount from a bank.

8.0Applications of this Micro-Project:

12 | P a g e
With the help of this micro-project we created pl/sql procedure for
withdrawal of amount from bank database.

Roll Numbers of the Team Members Names of the Team members


06 Aastha bhatt
07 Vidhi chalke
08 Shubham dandeker
09 Yash dasouni
10 Ralaston d’cruze

Mrs. SMITA DANDGE

13 | P a g e

You might also like