Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Normalisation

  • 25-01-2010 10:03PM
    #1
    Closed Accounts Posts: 11,631 ✭✭✭✭


    Hi guys,

    Currently in college iv been given a unnormalised table and have to put it into 1NF, 2NF and 3NF. 2nd and 3rd i havent got a problem with, and not really with first, however, im having problems determining "Repeating Groups". What exactly is a repeating group?

    We get handed tables that are populated with 6 or 7 lines of data. I.e A customer table with custID/name/address/dob/company/xx/xx/xx.

    Iv read about it, but i would like a clear english defination if possible,

    Thanks.


Comments

  • Closed Accounts Posts: 124 ✭✭booyah1024


    nuxxx wrote: »
    Hi guys,

    Currently in college iv been given a unnormalised table and have to put it into 1NF, 2NF and 3NF. 2nd and 3rd i havent got a problem with, and not really with first, however, im having problems determining "Repeating Groups". What exactly is a repeating group?

    We get handed tables that are populated with 6 or 7 lines of data. I.e A customer table with custID/name/address/dob/company/xx/xx/xx.

    Iv read about it, but i would like a clear english defination if possible,

    Thanks.

    what are the rest of the fields. Any that you've mentioned wouldn't constitute themselves as part of a repeating group tbh.


  • Closed Accounts Posts: 1,759 ✭✭✭Dr.Silly


    Hi Nuxxx,

    Lets say you have an employee candidates table, and you want to track the languages a possible candidate may have.
    A candidate can have more than one language.

    So repeating groups would be

    candidate_id, first_name,last_name,dob, language1, language2, language3

    or better, to have two tables
    candidates table
    candidate_id, first_name, last_name, dob

    candidates_language table
    candidate_id
    language

    Cheers


  • Closed Accounts Posts: 11,631 ✭✭✭✭Hank Scorpio


    thanks for the replies guys.

    very helpful.

    i`ll post up an example or two tomorrow morning and hopefully ye can have a look.:)


Advertisement