473,395 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

design a single normalised table

232 100+
S.N.
Name of NGOs
Boys
Girls
No. of Students
Passed
Failed
Employment Status
Grant Released
i have this type of data in table format for each Finical Year(2004-05 to2009-10) kindly help me to design a single normalised table
so that i can execute different query operations on it
as i am not getting any solution
any suggestions?????????
Oct 3 '09 #1
7 1399
You can have SNO , Name of NGO, Boys, Girls and NoofStudents in one table say
NGO_DET
and in another table you can have SNO(Ref parent NGO_DET), Student Name , Employment Status, Grant Released.

I don't know what is passed and failed I thing you can add that with the second table and instead of having No of students as a columns you can calculate it every time by using sum(Boys,Girls).
Oct 5 '09 #2
kkshansid
232 100+
@jankhana
S.N.
Name of NGOs
totalBoys
totalGirls
total No. of Students
total Passed
total Failed
Employment Status
Grant Released
i have this type of data in table format for each Finical Year(2004-05 to2009-10) what about finantial year i have this type of data only no detailed data
kindly help me to design a single normalised table
so that i can execute different query operations on it
as i am not getting any solution
any suggestions?????????
Oct 6 '09 #3
You mean that Grant Released is common for all students in NGO and same is the case for the Employment status?????????
If that is so than u can directly go for one table and include one more col as financial yr which will store for which financial yr the data is!!!!!!!!!!

I hope I understood right!!!!!
Oct 6 '09 #4
kkshansid
232 100+
@jankhana
yes grant goes to ngos not students.do u mean i should design like this?
S.N.
Name of NGOs
totalBoys2004-05
totalGirls2004-05
total No. of Students2004-05
total Passed2004-05
total Failed2004-05
Employment Status2004-05
Grant Released2004-05
totalBoys2005-06
totalGirls2005-06
total No. of Students2005-06
total Passed2005-06
total Failed2005-06
Employment Status2005-06
Grant Released2005-06
.
.
.
so on
isnt there any limit of columns?
Oct 7 '09 #5
No I mean you just include one more column called year which will have the year value i.e 2004-2005 or 2008-2009 etc so.
Table design will be like this:
Name of NGOs
totalBoys
totalGirls
total No. of Students
total Passed
total Failed
Employment Status
Grant Released
Year

So table is well maintained and has no problem in which year or which NGO and you can query it easily k....
Hope it's fine and helps you.
Oct 7 '09 #6
kkshansid
232 100+
@jankhana
then ngos will be repeated again and again and there will not be any primary key
Oct 7 '09 #7
what about students and all?????
can u give some demo of ur records so that its clear... Only name of the NGO will be repeated again and again total boys or girls and all those stuff will be different than right????????
Oct 7 '09 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

30
by: Dimitris | last post by:
Hi folks... As part of an assignment, I have to design and implement a fairly small MYSQL 4.0.17 database for a fictitious travel agency. This database will store data from customers submitting...
2
by: Christopher Key | last post by:
Hi, I'm looking for some advice on database structure. Without unnecessary details, I have a database that deals, in part, with 'matches' each of which progresses through a series of statuses....
10
by: BlueDolphin | last post by:
I'm not sure if this is a question or more of a rant... but I'm looking for some input on this from other developers out there. How often has the following happened to you and how have you dealt...
1
by: Steve | last post by:
Hi all Ok then I have searched through the back postings for a while now on google and read some interesting stuff on how to model a typical client / order db however.... My problem is that I...
15
by: kimi | last post by:
I have just started working on a project that is partially complete. It is an application that is using access to store test results. The test results are being stored in two Access 2000 databases....
9
by: Hasan O. Zavalsiz | last post by:
Hi , i am trying to figure out which approach is better to use . let me explain the scenario. i am using the "Nortwind" database . in this database i have "Customers " table .The following is the...
17
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but...
5
by: A_M_IS | last post by:
Dear valuable experts, I truly hope than You can suggest for me Your ideas how to resolve design. I developing relative small Access VB tool, for single user use only. Access version 2003, but db...
3
by: meeraguna | last post by:
We have 20 -30 normalized tables in our dartabase . Also we have 4 tables where we store the calculated data fron those normalised tables. The Reason we have these 4 denormalised tables is when we...
0
by: kkshansid | last post by:
S.N. Name of NGOs Boys Girls No. of Students Passed Failed Employment Status Grant Released i have this type of data in table format for each Finical Year(2004-05 to2009-10) kindly...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.