Professional Documents
Culture Documents
DEPARTMENT
OF
INFORMATION SCIENCE & ENGINEERING
CERTIFICATE
Name & Signature of the Guide Name & Signature of the HOD
Acknowledgement
We Sincerely owe our gratitude to all people who helped and guided us in completing this
mini-project work.
We are thankful to Prof. BANSILAL, Principal, NIEIT, Mysore, for having supported us in
academic endeavours.
We would like to sincerely thank our mini-project guides Smt. SHRUTHI. B S and faculties
in dept. Of Information & Science and Engineering for providing relevant information,
valuable guidance and encouragement to complete this mini-project.
We would also like to thank all our teaching and non-teaching staff members of the
Department. We are grateful to the college for keeping labs open whenever required and
providing us Systems and required software.
We are always thankful to our parents for their valuable support and guidance in every step.
We express our deepest gratitude and indebted thanks to NIEIT which has provided us an
opportunity in fulfilling our most cherished desire of reaching our goal.
Your’s Sincerely,
Manvanth B C(4NN19IS018)
ATEEQ UR REHMAN(4NN19IS004)
ABSTRACT
LIST OF CONTENTS
CHAPTERS PAGE NO
1. Introduction
2.2.Software requirement 14
3. SYSTEM DESIGN
3.1.E-R diagram 15
4. IMPLEMENTATION
4.1.Trigger Procedure 17
4.2. Modules 17
5. SNAPSHOTS
5.1. Snapshots 21
CONCLUSION 36
FUTURE ENHANCEMENT 36
BIBLIOGRAPHY 36
Chapter 1
INTRODUCTION
A database is an organized collection of data. A relational database, more restrictively, is a
collection of schemas, tables, queries reports, views, and other elements. Database designers
typically organize the data to model aspects of reality in a way that supports processes
requiring information, such as(for ex) modelling the availability of rooms in hotels in a way
that supports finding hotel with vacancies.
A database-management system (DBMS) is a computer-software application that interacts
with end-user, others applications, and the database itself to capture and analyse data. A
generalpurpose DBMS allows the definition, creation, querying, update, and administration
of databases. Well known DBMS include MySQL, PostgreSQL, Enterprise DB, MongoDB,
MariaDB, Microsoft SQL server, oracle, Sybase, Sap, HANA, MemSQL, SQLite and IBM
DB2.
A database is not generally different across DBMS, but different DBMS can interoperate by
using standards such as SQL and ODBC or JDBC to allow a single application to work with
more than one DBMS. Computer scientists may classify database-management systems
according to the database models that they support the most popular database systems since
1980s have all supported the relational model – generally associated with the SQL language.
sometimes a DBMS is loosely referred to as a “database”.
SQL Structured query Language is a domain- specific language used in programming and
designed for managing data held in a relational database management system (RDBMS), or
for stream processing in a relational data stream processing in a relational data stream
management system (RDBMS). It is particularly useful in handling structured data, i.e. data
incorporation relations among entities and variables.
SQL devices in several ways from its theoretical foundation, the relational model and its
tuple calculus. In that model, a table is a set of tuples, while in SQL, tables and query results
are list of rows the same may occur multiple times, and the order of rows can be employed in
queries (e.g. in the LIMIT clause).
Originally based upon relational algebra and tuple relational calculus, SQL consists of a data
definition language, data manipulation language, and data control language. The scope
of SQL includes data insert, query, update and delete, Schema creation and modification, and
data access control. Although SQL is often described as, and to a great extent is, a
declarative language, it also includes procedural elements.
The four main categories of SQL statements are as follows:
1. DML (data Manipulation Language)
2. DDL (Data Definition Language)
3. DCL (Data Control Language)
4. TCL (Transaction Control Language)
DML TCL
DDL
DCL
SELECT BEGIN
CREATE
INSERT GRANT TRAN
ALTER
UPDATE REVOKE COMMIT
DELETE DROP
TRAN
ROLLBACK
DML statements affect records in table. These are basic operations we perform on data such
as selecting a few records from a table, inserting new records. deleting unnecessary records,
and updating/modifying existing records.
Table_ name SET column_ name = value [column_ name= value....] [WHERE
condition]
DDL statements are used to alter/modify a database or table structure and schema. These
statements handle the design and storage of database objects.
The purpose of the project entitled as “Alcohol Management System” is to computerize the
Front office management wine store to develop software which is user friendly, simple, fast
and cost effective. It deals with the purchase and contactless delivery of different brands of
alcoholic beverages. Traditionally , it was done manually.
The main function of the system is to store and display the details of the customers, purchase
of their beverages, quantity and payment mode. It includes login page which can be entered
using a username and password .
It is accessible by both customer and admin. Only the admin can add or delete or update the
data in the database system. The data is well protected and makes the data processing very
fast. It is an integrated end to end system that provides relevant information and the cost of
the various alcoholic beverages available at the shop.
Alcohol management is a software product suite design to improve the quality and
management of alcohol in areas like contactless delivery, online payment (card, upi ) and
world consumption regarding a specific brand. Alcohol management system enables you to
develop the organization and improve its effectiveness and quality of work. Managing the
key process efficiently is critical to the success of the shop.
In addition to specifying how the system should behave, the specification also defines at a
high level the main business processes that will be supported, what simplifying assumptions
have been made and what key performance parameters will need to be met by the system .
This document describes the nature of a project, software or application. This includes the
purpose, scope, functional and non-functional requirements, software and hardware
requirements of the project.
Chapter 3
System Design
The system design document describes the system requirements, operating environment,
system and sub system architecture, files and databases design, input formats, output layouts,
human-machine interfaces, detailed design, processing logic, and external interfaces.
CUSTOM
ORD
INCLU
PAYME
CATEG
CHA
PRODU
Chapter 4
IMPLEMENTATION
The special methods used in the project are explained:
4.1. Triggers
A trigger is a named database object that is associated with a table, and that activates when a
particular event occurs for the table. Some uses for triggers are to perform checks of values to
be inserted into a table or to perform calculations on values involved in an update.
A trigger is defined to activate when a statement inserts, update, or delete rows in the
associated table. These row operations are trigger events
4.2 Module
Admin Module
In this module the admin can add admin login credentials, add and update customer, payment,
order, brand category and delivery details.
User Module
In this module the user can view the list of different brands of alcoholic beverages and order
them. They can also view the world consumption of each brand. They can pay with cash or
online using card or UPI.
The Customer table is used to store customer id, name, password, date of birth, phone
number and address of the user.
Here the primary key is customer id.
ORDER
The Order table is used to store the customer id, order id, payment id, order date, order status,
delivary date, total price of the user
Here the primary keys are order id and payment id.
INCLUDES
The includes table is used to store the product id and order id.
Here both the attributes are foreign keys.
PAYMENT
The payment table is used to store the payment id, payment status and payment
method(card, cash, online) of the order placed.
Here the payment id is the primary key.
CATEGORY
The category table is used to store the category id and the category name of the beverages.
Here both the attributes are primary keys.
CHART
This table is used to store the percentage of the beverages consumed in the world.
This table is used to store the brand id, brand name and consumption percentage.
Here the brand id is the primary key.
The product table is used to store product id, brand id, category id, product name, unit
price, the in stock quantity, net quantity and variants.
Here the product id is the primary key.
Here the attributes brand id and category id are the foreign keys.
Chapter 5
5.4. SNAPSHOTS
Snapshot 1: Login page.
Snapshot 22: Refreshing of existing customer details after deletion and updation
of customers.
Conclusion
Our project “Alcohol Management System” is for explicit computerization for all spirits
stores in a city. It is a great improvement over the manual system. The system speeds up the
process of order, payment and delivery of orders using this system. This software is capable
to provide easy and effective storage of information related to the orders.
Future Enhancement
The future Enhancement can be made include
More products and brands.
An e-mail will be sent to the customer once the order is placed and each step
of the order process would be updated.
Bibliography
1. Database systems models, languages Design and application Programming, Ramez
Elmasri and Shamakant B. Navarthe, 7th edition ,2017, Pearson
2. Database Management Systems, Ramakrishna And Gerkhe, 3rd Edition ,2014, Mc
Graw Hill.
Websites www.wikipedia.com
www.Stackoverflow.com
www.youtube.com