Sie sind auf Seite 1von 22

MYSURU SANDAL AND INDUSTRY MANAGEMENT

CHAPTER 1

INTRODUCTION

MSIM is the true inheritor of golden legacy of India. Continuing the tradition of excellence
for over eight decades, using only the best East Indian grade Sandalwood oil & Sandalwood soaps
in the world. The products produced at MSIM are the Soaps, Detergents, Agarbathies and
Sandalwood oil.

Marketing deals with identifying the meeting human and social needs. It as a
comprehensive term and it includes all resources and a set of activities necessary to direct and
facilitate the flow of goods and services from producer to consumer in the process of distribution.
The American marketing association offers the following definition; “marketing is the process of
planning and executing the conception pricing, promotion and distribution of ideas, goods and
services to create exchanges that satisfy individual and organizational goods.”

Dr.AIT, Dept of CSE Page 1


MYSURU SANDAL AND INDUSTRY MANAGEMENT

CHAPTER 2

REQUIREMENT SPECIFICATION

The hardware and software components of a computer system that are required to install and
use software efficiently are specified in the SRS. The minimum system requirements need to
be met for the program to run at all times on the system.

2.1 Hardware Requirements

The hardware requirement specifies the necessary hardware which provides us the platform
to implements our programs.

 2.00GHz Processor(Intel i3 or i7)


 8 GB RAM(System Memory)
 1 TB of Hard-Drive Space
 VGA Capable of 1366 x 768 Screen Resolution
 Necessary Computer Peripherals such as Keyboard etc.

2.2 Software Requirements

The software requirement specifies the pre-installed software needed to run the code being
implemented in this project.

 Windows Operating System


 Oracle 10g database.
 Xampp Server 5.6.3
 Notepad++

Dr.AIT, Dept of CSE Page 2


MYSURU SANDAL AND INDUSTRY MANAGEMENT

CHAPTER 3

DESIGN

A database is a structured collection of data. Data refers to the characteristics of


people, things and events. A database managements system, or DBMS, gives the user access
to their data and helps them transform the data into information. Such database management
systems include dbase, paradox, IMS, SQL Server and MySQL. These system allow users to
create update and extract information from their database. Different tables are created for the
various groups of information. Related tables are grouped together t from a database. This
project has been designed using ORACLE 10 G EXPRESS EDITION.

3.1:SQL

SQL is a special-purpose programming language designed for managing data held


in a relation database management system(RDBMS),or for stream processing in a relational
data stream management system(RDSMS). Originally based upon relational algebra and tuple
relational calculus, SQL consists of a data definition language, and a data control language.
The scope of SQL includes data insert, query, update and delete, schema creation and
modification, and data access control. SQL store each data item in its own fields. In SQL, the
fields relating to a particular person, thing or event are bundled together to form a single
complete unit of data, called a record(it can also be referred to as raw or an occurrence).
Each record is made up of a number of fields. No two fields in a record can have the same
field name.

Dr.AIT, Dept of CSE Page 3


MYSURU SANDAL AND INDUSTRY MANAGEMENT

3.2 Entity Relationship Diagram

An entity relationship diagram (ERD), also known as an entity relationship model, is


a graphical representation of an information system that depicts the relationships among
people, objects, places, concepts or events within that system. An ERD is a data modeling
technique that can help define business processes and be used as the foundation for a relation
database.

Entity relationship diagrams provide a visual starting point for database design that can also
be used to help determine information system requirements throughout an organization. After
a relational database is rolled out, an ERD can still serve as a referral point, should any
debugging or business process re-engineering be needed later.

However, while an ERD can be useful for organizing data that can be represented by a
relational structure, it can't sufficiently represent semi-structured or unstructured data. It's
also unlikely to be helpful on its own in integrating data into a pre-existing information
system.

An ERD representing the information system for a company's sales department might start
with graphical representations of entities such as the sales representative, the customer, the
customer's address, the customer's order, the product and the warehouse. (See diagram
above.) Then lines or other symbols can be used to represent the relationship between
entities, and text can be used to label the relationships.

Dr.AIT, Dept of CSE Page 4


MYSURU SANDAL AND INDUSTRY MANAGEMENT

ER Diagram

Figure 3.2

Dr.AIT, Dept of CSE Page 5


MYSURU SANDAL AND INDUSTRY MANAGEMENT

3.3 Relational Schema

Relational schema. ... The term "schema" refers to the organization of data
as a blueprint of how the database is constructed (divided into database tables in the case of
relational databases). The formal definition of a database schema is a set of formulas
(sentences) called integrity constraints imposed on a database.

Relational schema may also refer to as database schema. A database schema is


the collection of relation schemas for a whole database. Relational or Database schema is a
collection of meta-data. Database schema describes the structure and constraints of data
representing in a particular domain. A Relational schema can be described a blueprint of a
database that outlines the way data is organized into tables. This blueprint will not contain
any type of data. In a relational schema, each tuple is divided into fields called Domains.

The term relational schema refers to a heading paired with a set of constraints defined
in terms of that heading. A relation can thus be seen as an instantiation of a relation schema if
it has the heading of that schema and it satisfies the applicable constraints.

Dr.AIT, Dept of CSE Page 6


MYSURU SANDAL AND INDUSTRY MANAGEMENT

Schema Diagram

Branch_info

Employee

Product_info

Clients

Transportation

Stocks

Figure 3.3

Dr.AIT, Dept of CSE Page 7


MYSURU SANDAL AND INDUSTRY MANAGEMENT

CHAPTER 4

IMPLEMENTATION

4.1 Creation of Tables

create table admin


(
admin_name varchar(20),
password int not null
);

create table branch_info


(
Bid int not null,
Bname varchar(20) not null,
CEO varchar(30) not null,
Mgn_Director varchar(30) not null,
Baddress varchar(100) not null,
primary key(Bid)
);

create table employee


(
Bid int not null,
Eid int not null,
Ename varchar(40) not null,
Eage int, Elocation varchar(60) not null,
Esalary real, primary key(Eid),
foreign key(Bid) references branch_info(Bid)
);

Dr.AIT, Dept of CSE Page 8


MYSURU SANDAL AND INDUSTRY MANAGEMENT

create table product_info


(
Bid int not null,
Pid int not null,
Pname varchar(100) not null,
Mfd_date date,
Exp_date date,
Pcost real,
primary key(Pid),
foreign key(Bid) references branch_info(Bid)
);

create table clients


(
Bid int not null,
Pid int not null,
Cid int not null,
Cname varchar(50) not null,
Caddress varchar(80) not null,
C_email varchar(100) not null,
C_bill_id int, primary key(Cid),
foreign key(Bid) references branch_info(Bid),
foreign key(Pid) references product_info(Pid)
);

Dr.AIT, Dept of CSE Page 9


MYSURU SANDAL AND INDUSTRY MANAGEMENT

create table transportation


(
Bid int not null,
Cid int not null,
Pid int not null,
Tid int not null,
Src varchar(50) not null,
Dest varchar(50) not null,
Qty int,
Price real,
Total_price real,
primary key(Tid),
foreign key(Bid) references branch_info(Bid),
foreign key(Cid) references clients(Cid),
foreign key(Pid) references product_info(Pid)
);

create table stocks


(
Bid int not null,
Pid int not null,
Pname varchar(60) not null,
Qty int,
Price real,
Total_price real,
foreign key(Bid) references branch_info(Bid),
foreign key(Pid) references product_info(Pid)
);

Dr.AIT, Dept of CSE Page 10


MYSURU SANDAL AND INDUSTRY MANAGEMENT

CHAPTER 5
SNAPSHOTS

5.1 Tables

select * from branch_info;

select * from employee;

select * from product_info;

Dr.AIT, Dept of CSE Page 11


MYSURU SANDAL AND INDUSTRY MANAGEMENT

select * from clients;

select * from transportation;

select * from stocks;

Dr.AIT, Dept of CSE Page 12


MYSURU SANDAL AND INDUSTRY MANAGEMENT

select * from admin;

Dr.AIT, Dept of CSE Page 13


MYSURU SANDAL AND INDUSTRY MANAGEMENT

5.2 Queries

Q1.

UPDATE `branch_info` SET `Bid` = '7',


`Bname` = 'Ghandinagar', `Mgn_Director` = 'Purushutam',
`Baddress` = 'Ghandhinagar, Rajastan'
WHERE `Bid` = '6'

Select * from `branch_info`

Q2.

DELETE FROM `branch_info` WHERE `Bid`='7'

Select * from `branch_info`

Dr.AIT, Dept of CSE Page 14


MYSURU SANDAL AND INDUSTRY MANAGEMENT

Q3.

alter table `employee` add `Gender` varchar(30) null

Select * from `employee`

Q4.

alter table `employee` drop `Gender`

Select * from `employee`

Dr.AIT, Dept of CSE Page 15


MYSURU SANDAL AND INDUSTRY MANAGEMENT

Q5.

select names of all employees who are belong to Branch bangalore.

select e.Ename, b.Bname from branch_info b, employee e

where b.Bid = e.Bid and Bname = 'Bangalore'

Q6.

Find the client names and Cid who are buying the products from branch 2.

Select Cid, Cname from branch_info b, clients c

where b.Bid = c.Bid and b.Bid = '2'

Dr.AIT, Dept of CSE Page 16


MYSURU SANDAL AND INDUSTRY MANAGEMENT

5.3 FRONT END SNAPSHOTS

Dr.AIT, Dept of CSE Page 17


MYSURU SANDAL AND INDUSTRY MANAGEMENT

Dr.AIT, Dept of CSE Page 18


MYSURU SANDAL AND INDUSTRY MANAGEMENT

Dr.AIT, Dept of CSE Page 19


MYSURU SANDAL AND INDUSTRY MANAGEMENT

Dr.AIT, Dept of CSE Page 20


MYSURU SANDAL AND INDUSTRY MANAGEMENT

CONCLUSION

It can be concluded that the various influencing factors responsible for the purchase of
the Mysore Sandal Soaps are, family/friends, advertising & others. It can also be concluded that
the consumers have chosen Mysore Sandal Soaps and keeping in the mind the goodness of
sandal oil, brand name and also the company’s image. Most of the consumers are satisfied with
quality and also there is a delight to the customers to suggest their product to others.

The study has also helped me to gain good amount of knowledge and has also exposed me to the
industrial environment.

Dr.AIT, Dept of CSE Page 21


MYSURU SANDAL AND INDUSTRY MANAGEMENT

Bibliography

Few of the books and websites that was instrumental in helping us to complete this project. These
are mentioned below:

BOOKS:
1.Elmasri and Navathe, "Fundamental of Database System", Addision-Wesley, 5th Edition.

URLs:

 http://www.w3Schools.com/sql/
 http://www.w3Schools.com/html/
 http://stackoverflow.com
 http://www.phptpoint.com
 http://www.MS&IM.com

Dr.AIT, Dept of CSE Page 22

Das könnte Ihnen auch gefallen