Professional Documents
Culture Documents
INTRODUCTION
Trong bai as em lam ve nhung van de gi: ve phan tich co so du lieu cho cong
ty gi do…
II. SYSTEM REQUIREMENTS
1. Real world scenario
……..
2. Data requirements for storage
Definition Entity:
Example
Trong bai nay em su dung cac thuc the sau:
Vi du: Customer
Entity Description Atribute Description Datatype
Atribute
Customer All Customer Idcustomer, … int
take part in
buying
Sales Sale take part
in saling, has a
person is
manager
……
....
Vẽ sơ đồ minh họa
b)apply in my database
A Customer oder n Product=>the relationship between Customer and Product is One to
Many
.....
Bang nay da thoa man chuan 1NF vi sao, 2 NF vi sao va 3NF vi sao?
.Bảng Product thỏa mãn chuẩn 3:
Vì nó đã thỏa mãn chuẩn 2, và không còn thuộc tính không khóa nào phụ thuộc
tạm thời vào khóa chính.
Tất cả các thuộc tinh không khóa không phụ thuộc bắc cầu vào khóa chính mà
phụ thuộc đầy đủ vào khóa chính
Tất cả các phụ thuộc bắc cầu đã được loại bỏ và thay bằng quan hệ mới
Thuc hien mot so cau lenh truy van de minh hoa de minh hoa cho thiet ke
database cua em la chuan
a. Select
b. Insert
cUpdate
d. Delete
Một số câu truy vấn nâng cao: INNER JOIN, LEFT JOIN …..
IV. DATABASE DEVELOPMENT(P2)
1. Form Login
I will design an interface that allows users to enter account information in the textbox at the
interface and confirm login at the login button and exit the program with the exit button. The
following is my
login form interface.
….
After I have the interface I will connect to the database via SQLConnection, Command ... We click on
the form to create a Form_Load event and then open and close the database. If connected to the
database, the program will notify a successful connection and if failed, it will not be able to access
the system.
2. Form Admin
Chụp ra và có demo minh họa, form này có những chức năng gì trên đó
Vi du: Noi ve ket noi database
Co code tương ứng và minh họa kết nối thành công=?sẽ ra giao diện gì
3. Form Management Product
4. Form Managecustomer,
Các form khác tương tự
Ứng dụng của các bạn khi viết xong có bao nhiêu màn hình mình phải test hết (phải test các
chức năng, thêm, chèn, sửa, xóa…)
2. Test Log46
the user manual must include how to start and exit the
database (application).
What the important parts of the user interface are.
Must include screenshots, which must have captions.
Must have a table of contents (build using word).
Must show step by step how to achieve the func tionality
provided.
What to do if anything goes wrong.
Technical Manual
The technical manual must contain enough detail to
inform another developer with what they need to know to
take your database further.
They need to know –
theERD.
The physical schema.
The backup/restore procedures.
Validation techniques.
The current version number with date must be included
for the RDBMS.
1. Technical documentation
a. ERD model explain, E-R model
➢ A semester will have at least one class and at most n classes and a class will have at
most n semester. The relationship between semester and class is the Many to Many
relationship….
b. Tables
Each table I will design a primary key and has a data type of ‘int’ and is not allowed
to be blank.
Chup anh cac bang.
Store procdure can helpful in maintaining data integrity, data control access and
improving productivity
The triggrer is mostly used for maitaince the integrity of the in formation on the database
2. User documentation
a. Login:
You need to enter data into the account textbox and password provided by the administrator.
Then click the
Login button to log in the system if the system notifies you that the account or password is
incorrect, you
must enter again. The exit button allows you to exit the program.
Faile Login:
b. Forms
Student: Lets you view all student information at school. You can add, edit, delete the desired
student
information and also search for the required information when entering the corresponding textbox
and
press the search button.
Class: Allows you to view all classroom information at the school. You can add, edit, delete desired
class
information and also search for the necessary information when entering the corresponding textbox
and
press the search button.
Subject: Allows you to view all subject information at the school. You can add, edit, delete the
desired
subject information and also search for the necessary information when entering the corresponding
textbox and press the search button…..
VII. Conclusion
XIII. References.