147b0 Database design
Sign Up |  Live StatsLive Stats    Articles 37,313| Comments 177,053| Members 19,398, Newest Geezah| Online 512
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Database design

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Button design Tom Information Technology 2 28-Jul-2006 08:39 AM
Database design Issue JOM Information Technology 0 28-Jul-2006 08:23 AM
OT Database Design Help The Boondock Saint Information Technology 0 28-Jul-2006 08:19 AM
Help with table design lorirobn Information Technology 1 12-Nov-2005 22:40 PM


Tags
database, design
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:11 AM
Squid's Avatar Squid
Guest
 
Posts: n/a
   
   
Database design

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I am creating an Access Database to track a workers skills and
certifications. Currently it is a flat table:

SSN - Text
MemberName - Text
Address - Text
Concrete - Yes/No
Drywall - Yes/No
Bricklaying - Yes/No
OSHA 10 - Yes/No
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10223-database-design.html
Rigging - Yes/No
OSHA 30 - Yes/No

I thought normalizing it into 3 tables:
MemberInfo: SSN, MemberName, Address
Skills: Concrete, Drywall, Bricklaying
Certifications: OSHA 10, Rigging, OSHA 30

1 Member can have zero or several Skills
1 Member can have zero or several Certifications
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10223

I can't seem to get the relationships working. Any suggestions?




Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:11 AM
Jerry Whittle's Avatar Jerry Whittle
Guest
 
Posts: n/a
   
   
RE: Database design

I see 5 tables minimum. Two of them are linking or bridging tables as a
member can have more than one skill and a skill can be had by more than one
member.

tblMemberInfo: MemPK , SSN, MemberName, Address, etc
- MemPK should be an autonumber and the primary key for the table. Do not
use the SSN for the PK. If you want, the SSN could be a unique index to
prevent duplicates.

tblMemberSkills: MemSkillPK, MemFK, SkillFK, txtNotes.
- MemSkillPK autonumber primary key.
- MemFK is the foreign key related to tblMemberInfo MemPK
- SkillFK is the foreign key related to tblSkills SkillPK

tblSkills: SkillPK, Skill
1 SkillsConcrete
2 Drywall
3 Bricklaying
Etc.

tblMemberCerts: MemCertPK, MemFK, CertFK, txtNotes.
- MemCertPK autonumber primary key.
- MemFK is the foreign key related to tblMemberInfo MemPK
- CertFK is the foreign key related to tblCertifications CertPK

tblCertifications: CertPK, Certification
1 OSHA 10
2 Rigging
3 OSHA 30
Etc.

--
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10223


"Squid" wrote:

> I am creating an Access Database to track a workers skills and
> certifications. Currently it is a flat table:
>
> SSN - Text
> MemberName - Text
> Address - Text
> Concrete - Yes/No
> Drywall - Yes/No
> Bricklaying - Yes/No
> OSHA 10 - Yes/No
> Rigging - Yes/No
> OSHA 30 - Yes/No
>
> I thought normalizing it into 3 tables:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10223
> MemberInfo: SSN, MemberName, Address
> Skills: Concrete, Drywall, Bricklaying
> Certifications: OSHA 10, Rigging, OSHA 30
>
> 1 Member can have zero or several Skills
> 1 Member can have zero or several Certifications
>
> I can't seem to get the relationships working. Any suggestions?
>
>

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:11 AM
Larry Daugherty's Avatar Larry Daugherty
Guest
 
Posts: n/a
   
   
Re: Database design

  Donate Today!  
I recommend the following:

tblPerson

tblSkills

tblCertifications
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10223

tblPersonSkill - the many side of one to many with tblPerson. One
record for each skill this person has

tblPersonCertification - as above, many side of one to many with
tblPerson
One record for each certification this person
has.

HTH
--
-Larry-
--

"Squid" wrote in message
news:937D3022-F649-48EF-9787-AF9B16092B19@microsoft.com...
> I am creating an Access Database to track a workers skills and
> certifications. Currently it is a flat table:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10223
>
> SSN - Text
> MemberName - Text
> Address - Text
> Concrete - Yes/No
> Drywall - Yes/No
> Bricklaying - Yes/No
> OSHA 10 - Yes/No
> Rigging - Yes/No
> OSHA 30 - Yes/No
>
> I thought normalizing it into 3 tables:
> MemberInfo: SSN, MemberName, Address
> Skills: Concrete, Drywall, Bricklaying
> Certifications: OSHA 10, Rigging, OSHA 30
>
> 1 Member can have zero or several Skills
> 1 Member can have zero or several Certifications
>
> I can't seem to get the relationships working. Any suggestions?
>
>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Thought of the Moment!
Today 13:33 PM
107 Replies, 5,039 Views
What I believe Hukam to...
Today 13:27 PM
0 Replies, 6 Views
Do you believe in...
Today 13:15 PM
180 Replies, 3,717 Views
BHOOTS (Ghosts) and...
Today 13:08 PM
102 Replies, 13,851 Views
What Do You Think of...
By akiva
Today 12:56 PM
27 Replies, 541 Views
How does Sikhi help you...
Today 12:44 PM
17 Replies, 556 Views
Why are There so Many...
Today 10:23 AM
70 Replies, 5,022 Views
Biography of a Scholar:...
Today 06:10 AM
1 Replies, 61 Views
Of Serpents, Pigs,...
Today 05:21 AM
37 Replies, 1,010 Views
Should SPN Keep the...
Today 03:27 AM
16 Replies, 402 Views
Map shows world's 'most...
Today 03:02 AM
15 Replies, 242 Views
Friends. A Testimony to...
Today 02:40 AM
4 Replies, 110 Views
Panjabi
Today 02:27 AM
11 Replies, 232 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 02:13 AM
301 Replies, 7,446 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 01:54 AM
169 Replies, 4,332 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 14:53 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.42845 seconds with 32 queries
0