You are on page 1of 5

INTRODUCTION

Information traditionally defined as a fundamental element of Knowledge requires


manual entry and an encrypted code in order. to become a piece of data.With the
appearance of virtual aspects and the appunttion the Concept of big data and
intelligence antofficell dane the detail of our daily life. The information become,
consequently, a central element of this entire environment. of what was presented, the
design and development of a system around this information is more than necessary.
The elaborate information system is part of two other systems, namely, the decision-
making system , and the operating system.
The company is an economic organization integrated into its environment and
endowed with legal autonomy combines production factors in order to produce goods
and services the design of such a system must include the four information functions:
namely: the collection of information
the treatment of information
the transmission of information
diffusion of information
this design goes through the following three levels
the conceptual levels
logic
physical

conceptual data model


the conceptual data model is a high level description of informational systeme
independant of any technical constraint every one can read and understand this model
entities

Client photocopier technician

Entities is described by a set of proprereties (attributes)


Attributes

Client Photocopieur
Id-ph Technician
Id-cl Id-tech
name-cl Brand -ph
model-ph registration number-tech
surname -cl name -tech
address-cl date -ph
Dictionary of data

Client

Name Description Data type Field length note


Id-cl
name-cl
surname -cl
address-cl

Photocopier
Field Description Data type Data size Constraint
Id-ph
Brand -ph
model-ph
date -ph

technician

Field Description Data type Data size note


Id-tech
registration
number-tech
name -tech

Association

Customer Photocopier Technician


Id-cl Id-ph Id-tech
Object of com
name-cl Brand -ph registration
surname -cl model-ph number-tech
passe
address-cl date -ph name -tech
cardinalities

customer Photocopier Technician


Id-cl 1.n Id-ph 1.1 1.n Id-tech
name-cl n.1 Brand -ph registration number-tech
surname -cl model-ph name -tech
address-cl date -ph

1.n 1.1

management rules
a customer or several customers that can be ordered 1.n 1.1
one or more photocopier able to place one or more orders 1.n 1.n
a customer can order one or more products 1.1 1.n

MLD : association become tables with relationships also certain technical notions are
introduced namely the foreign and primary key
primary key : is an identifier of a record it allows you to differentiate two records
from the same table in a clear and unique way

foreign key

customer Photocopier Technician


Id-cl Id-ph Id-tech
name-cl Brand -ph registration
surname -cl model-ph number-tech
address-cl date -ph name -tech
 Customer : Id-cl ;name-cl ;surname -cl ;address-cl
 Photocopier : Id-ph ;Brand -ph ;model-ph ;date -ph
 Technician : Id-tech registration number-tech ,name -tech

CREATE DATA BASE IF not exist customer -db


CREATE Use customer -db
CREATE table customer (Id-cl ;name-cl ;surname -cl ;address-cl )
CREATE table photocopier (Id-ph ;Brand -ph ;model-ph ;date -ph)
CREATE table technician (Id-tech registration number-tech ,name -tech)

MPD :
they are modular representation before the implementation of the system on SQL
in this level we proceed to the creation of our database
CREATE Database if not exist customer -dp
use customer -db
CREATE table customer

Id-cl
name-cl
surname -cl
address-cl
CREATE table photocopier
Id-cl auto incrent constraint Primary key
Id-ph
Brand -ph
model-ph
date -ph
CREATE Table technician
Id-tech
registration number-tech
name -tech

You might also like