Professional Documents
Culture Documents
BELGAUM
ON
SUBMITTED BY
1AT16CS121 1AT16CS122
Submitted in partial fulfillment of the requirement for the award of the
In
Prof. Pradeep
XCELERATOR
Anandanagar, Bangalore-560024
DBMS Lab Mini-Project Report DMS
CERTIFICATE
This is to certify that the project entitled DMS has been successfully completed by
1AT16CS121 1AT16CS122
In partial fulfillment for the data base management system laboratory with mini-project report
[15CSL58] –V semester, BE Computer Science during 2018-2019.
External Viva:
Examiner 1____________________________
Examiner 2____________________________
Any achievement, be it scholastic or otherwise does not depend solely on the individual
efforts but on the guidance, encouragement and cooperation of intellectuals, elders and
friends, who believe that the individual can excel and put in their every bit in every
endeavor he/she embarks on, at every stage in life. And the success is derived when
opportunity meets preparation, also supported by a well-coordinated approach and
attitude.
The joy and satisfaction that accompanies the successful completion of any task would
be incomplete without mentioning the people who made it possible and also whose
efforts gave this project its final shape.
We are indeed indebted to Prof. Pradeep and Prof .Ravi Ranjan, project guide and lab in-charge, for
her support, advice and inputs in the course of this project. We would also like to thank various faculty
members of the Computer Science & Engineering Department for their valuable suggestions and inputs.
Last, but not the least we would like to thank our parents, who have acted as a beacon of
light throughout life.
Our sincere gratitude goes out to all our comrades and well-wishers who have supported us
through all our ventures.
1AT16CS121 1AT16CS122
ABSTRACT
Online Art Gallery is an online application, which is used to display and sell art works of artist irrespective of
their nationality, gender and other narrow consideration, through auction. Artist can
register online for being a member in the art gallery and each artist can upload the digital copy of their art work
under the respective categories. They can host their art work either for auction or for
fixed price. The artist is liable to pay a fraction of the price of each art work to the web site to find the running
fund for site.
Art lovers
have to go to the art exhibition to collect their favorite arts or painting. But now-a-days they are not getting
enough time to go to the galleries and collect the arts and paintings
Existing System:
Customer can also register online and they can browse artworks that are arranged in different categories
scientifically. Each Customer can create their own gallery to see his favorite art works
without much difficult. And each user has the right to purchase an art work using the integrated payment
gateway and participate in auction by submitting their bids. Qualified bidder should remit the
amount using payment gateway and after each valid payment the art work will be shipped within some days.
TABLE OF CONTENTS
Certificate ....................................................................................................................................
1 Acknowledgement
...................................................................................................................... 2 Abstract
....................................................................................................................................... 3 1.
INTRODUCTION ................................................................................................................ 6
1.1 INTRODUCTION TO DBMS .......................................................................................... 6
1.1.1 SQL PROGRAMMING............................................................................................. 6
1.1.2 Working with SQL COMMANDS ............................................................................ 7 1.2
ORGANIZATION OF REST OF THE REPORT........................................................... 14 1.3
BRIEF OUTLINE OF THE PROJECT ........................................................................... 14 2.
LITERATURE SURVEY .................................................................................................. 15 3.
REQUIREMENT SPECIFICATIONS ............................................................................. 16 3.1
EXTERNAL INTERFACE REQUIREMENTS............................................................. 16 3.2
FUNCTIONAL REQUIREMENTS ............................................................................... 16 3.2
BROAD ARCHITECTURE ........................................................................................... 17 4.
SYSTEM DESIGN .............................................................................................................. 18
4.1 ER DIAGRAM ............................................................................................................... 18
4.2 APPLY ER-MAPPING RULES, .................................................................................... 19
4.3 NORMALIZATION ....................................................................................................... 20
4.4 USER INTERFACE DESIGN ........................................................................................ 21
5. DETAILED DESIGN ......................................................................................................... 22
5.1 DATABASE CREATION .............................................................................................. 22
5.1.1 Data Definitions ....................................................................................................... 22
5.1.2. Constraints…………………………………………………………….………….24
5.2.NORMAL FORMS………………………………………………………….………...24
5.2.1 First normal form………………………………………………………………..24
5.2.2 Second normal form…………………………………………………………..…24
5.2.3 Third normal form…………………………………………………………….…25
5.3.STORED PROCEDURES .............................................................................................. 26
6. DATABASE CONNECTIONS AND CODE IMPLEMENTATION………...……….28
Atria Institute Of Technology 4
DBMS Lab Mini-Project Report DMS
6.1 Retrieving data from the database………………………………................................28
Guest users—
Visit the Website
Guest user can enquiry
Database Configuration
Open phpMyAdmin
Database Art
Open Your browser put inside browser “http://localhost/Art”
CHAPTER 2
Literature Survey
Online Attendance Management System
Advantages:
• User Friendly: User interface is very easy. Data storing and recovery is fast and secured. In
addition, application is provided with graphical representation for easier interpretation and
analysis.
• Reports are easily generated: Various reports such as Student wise attendance, Day wise
attendance, Class wise attendance, Month Wise Class Attendance etc can be easily generated.
Current and back-dated reports can be available instantly.
• No paperwork and no risk of errors which can be occurred while marking the attendance
manually.
Features:
• A simple online application designed for all attendance requirements
• Capable to store up maximum records
• Fully compatible - needs only internet connection compatible
The online attendance management system has been built to eliminate the time and effort
wasted in taking attendances. It is software that fulfills the requirement of the system for which
it has been developed. The system has reached at such a level where all bugs have been
eliminated and operated efficiently
CHAPTER 3
REQUIREMENT SPECIFICATIONS
External interface requirements specify hardware, software, or database elements with which
a system or component must interface. This section provides information to ensure that the
system will communicate properly with external components. If different portions of the
product have different external interfaces, incorporate an instance of this section within the
detailed requirements for each such portion.
The project makes use of html,css,php to build up a user interactive pages for the website.Also
the data is stored in my sql from which we retrieve the details and display in the front end.
CHAPTER 4
ER-Diagram is a visual representation of data that describes how data is related to each other.
4.3 Normalization:
• R must be in 3rd Normal Form and, for each functional dependency ( X → Y ), X should
be a super Key.
User interface design (UI) or user interface engineering is the design of user interfaces for
machines and software, such as computers, home appliances, mobile devices, and other
electronic devices, with the focus on maximizing usability and the user experience. The goal
of user interface design is to make the user's interaction as simple and efficient as possible, in
terms of accomplishing user goals (user-centered design).
Good user interface design facilitates finishing the task at hand without drawing unnecessary
attention to itself. Graphic design and typography are utilized to support its usability,
influencing how the user performs certain interactions and improving the aesthetic appeal of
the design; design aesthetics may enhance or detract from the ability of users to use the
Atria Institute Of Technology 12
DBMS Lab Mini-Project Report DMS
functions of the interface. The design process must balance technical functionality and visual
elements (e.g., mental model) to create a system that is not only operational but also usable and
adaptable to changing user needs.
Interface design is involved in a wide range of projects from computer systems, to cars, to
commercial planes; all of these projects involve much of the same basic human interactions yet
also require some unique skills and knowledge. As a result, designers tend to specialize in
certain types of projects and have skills centered on their expertise, whether that be software
design, user research, web design, or industrial design.
CHAPTER 5
DETAILED DESIGN
5.1 Database Creation
CREATE DATABASE Statement
Syntax:
CREATE DATABASE databasename;
We should have the admin privilege before creating any database. Once a database is created,
we can check it in the list of databases as follows –
SHOW DATABASES;
Students:
Subjects:
Tracker:
5.1.2. Constraints:
First normal form (1NF) sets the very basic rules for an organized database:
Second normal form (2NF) further addresses the concept of removing duplicative data:
Atria Institute Of Technology 15
DBMS Lab Mini-Project Report DMS
• Meet all the requirements of the first normal form.
• Remove subsets of data that apply to multiple rows of a table and place them in separate
tables.
· Create relationships between these new tables and their predecessors through the use of
foreign keys.
Remove columns which create duplicate data in a table and related a new table with Primary
Key – Foreign Key relationship’
A stored procedure termed proc, storp, sproc, StoPro, StoredProc, StoreProc, sp, or SP)
is a subroutine available to applications that access a relational database management system
(RDBMS). Such procedures are stored in the database data dictionary.
Uses for stored procedures include data-validation (integrated into the database) or
accesscontrol mechanisms. Furthermore, stored procedures can consolidate and centralize
logic that was originally implemented in applications. To save time and memory, extensive or
complex processing that requires execution of several SQL statements can be saved into stored
procedures, and all applications call the procedures. One can use nested stored procedures by
executing one stored procedure from within another.
Stored procedures may return result sets, i.e., the results of a SELECT statement. Such result
sets can be processed using cursors, by other stored procedures, by associating a result-set
locator, or by applications. Stored procedures may also contain declared variables for
processing data and cursors that allow it to loop through multiple rows in a table.
Storedprocedure flow-control statements typically include IF, WHILE, LOOP, REPEAT, and
CASE statements, and more. Stored procedures can receive variables, return results or modify
variables and return them, depending on how and where the variable is declared.
CHAPTER 7
SYSTEM AND DATABASE
TESTING
7.1 Snapshots:
The project has a very vast scope in future. The project can be implemented on intranet in
future. Project can be updated in near future as and when requirement for the same arises, as it
is very flexible in terms of expansion. Department Management System is ready and fully
functional. The client is now able to manage and hence run the entire department in a much
better, accurate and error free manner. The following are the future scope for the project.
CHAPTER 9
APPENDIX
9.1 Appendix-I
• https://en.wikipedia.org/wiki/Stored_procedure
• https://www.w3schools.com/
• https://www.tutorialspoint.com/
• https://stackoverflow.com/
• https://www.wikipedia.org/
• https://www.youtube.com/
• http://www.inmotionhosting.com/support/edu/website-design/using-php-
andmysql/grab-all-comments-from-database
• https://www.edureka.co
• https://www.udemy.com
• https://www.google.co.in/
9.2 Appendix-II:
1. MYSQL Workbench:
MySQL Workbench is a unified visual tool for database architects, developers, and DBAs.
MySQL Workbench provides data modeling, SQL development, and comprehensive
administration tools for server configuration, user administration, backup, and much more.
MySQL Workbench is available on Windows, Linux and Mac OS X
MySQL Workbench delivers visual tools for creating, executing, and optimizing SQL queries.
2. Sublime Text 3:
Sublime Text is a proprietary cross-platform source code editor with a Python application
programming interface (API). It natively supports many programming languages and markup
languages, and functions can be added by users with plugins, typically community-built and
maintained under free-software licenses.
Version 3 entered beta on 29 January 2013. At first available only for registered users who
have purchased Sublime Text 2, on 28 June 2013 it became available to the general public.
However, the very latest development builds still required a registration code.[12] Sublime Text
3 was officially released on 13 September 2017.[13]
Atria Institute Of Technology 43
DBMS Lab Mini-Project Report DMS
Two of the main features that Sublime Text 3 adds include symbol indexing and pane
management. Symbol Indexing allows Sublime Text to scan files and build an index to
facilitate the features Goto Definition and Goto Symbol in Project. Pane Management allows
users to move between panes via hotkeys.[14]
1. Html
2. Php
3. My Sql
4. Java Script
5. Css
System
Manufacturer DELL,,Mac
Storage
Total size of hard disk 500 GB