Click here to Skip to main content
11,705,473 members (43,612 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-Server C#4.0
Hi friends,
I am developing school management system.In that i want to design a table for mark entry.here I am struggling because each class has different in subject name and no.of subject.for example upto highschool they have only 5 or 6 subject but in higher secondary school level they have 8 or 9 subject. How can i create table for mark entry. whether create each table for each class or single table for whole class. single table for whole class is not possible i think. so please guide me to develop the table

Thank you
Posted 16-Dec-12 19:53pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

As per your requirement, single table won't work... And if its works, for further operation you'll have to normalize it.
So Create one Student Table and one Mark Table, now relate 'em with each other.. Or else you can create, Class Table and then Student and Mark...
  Permalink  
Comments
baskaran chellasamy at 17-Dec-12 2:17am
   
ok.
I have already created the following table

1 Student table contains student personal data including his admission number
2.class table contain class details
2.section table contains section details for particular class
4.student academic table contain student for section and class
5.student roll number allocation table contain student and his roll number with admission number.
subject table contain subject details
examname table contain examname details
examclass table contain examname and classname and what are the subject for exam for a particular class.
now i want to enter mark for student for particular exam mean i want to create table for mark entry. subject column for each class will vary,so how can create mark table for particular calss and particular exam .
Krunal Rohit at 17-Dec-12 2:22am
   
Class :
Id, name, no_of_students etc

Student :
id, name, class_id etc

Mark :
sub_id, sub_name, mark, student_id etc

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 229
1 Sergey Alexandrovich Kryukov 136
2 ppolymorphe 68
3 Inimicos 60
4 ProgramFOX 50
0 OriginalGriff 9,053
1 Sergey Alexandrovich Kryukov 8,347
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,626


Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 17 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100