Student Information Management System 1 (Database design chapter)

Source: Internet
Author: User

1. System Overview

This is to be a student management system, after learning the database, hope that through this system to apply the knowledge to the actual project. To strengthen their proficiency level. Development background: With database, C # related knowledge reserves, master the basic HTML knowledge.
Purpose: for practice only. Through a language, the database is presented.

2. Functional Requirements Analysis

System Concept Layer Design: Function use case diagram as follows

1. Login function: For identity authentication

2. Data manipulation: Information query, data enhancement and deletion.
A) in the data operation, the administrator has all the operational privileges. Students have the ability to select classes and view them. And you can modify your personal information.
3.UI Design

3. Database design


E-r Figure 1


A total of three tables, here simply imitate the textbook data.
First, the Student table (Tb_student) is designed as follows

Column Name

Data type

is empty (default is not)

Primary KEY (default = NO)

Student_name

Nvarchar (15)

Student_num

Int

Whether

Is

Student_password

Nvarchar (30)

Student_sex

Nvarchar (5)

Student_age

smallint

Student_dept

Nvarchar (20)

Tb_course

Column Name

Data type

is empty

Primary key

Course_num

Int

Whether

Is

Course_name

Nvarchar (30)

Course_credit

smallint

Course_semester

smallint

Tb_student_course

Column Name

Data type

is empty

Primary key

sc_id

Int

Whether

Is

Student_num

Int

FOREIGN key

Course_num

Int

FOREIGN key

Grade

smallint

Tb_admin

Column Name

Data type

is empty

Primary key

admin_id

smallint

Whether

Is

Admin_name

Nvarchar (20)

Admin_password

Nvarchar (40)

Remark

Nvarcahr (10)

function code See next article

Student Information Management System 1 (Database design chapter)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.