Database Normalization help

isuru143

Well-known member
  • May 6, 2007
    4,053
    68
    48
    In this Planet
    Guys,

    I need to normalize following table. I tried to do it myself. Tell me if I done it correctly.

    title
    salary/rate
    benefits
    keywords
    job type
    location
    start_date
    description
    agency
    agency_contact_name
    agency_telephone
    agency_email
    job_reference number
    date_posted
    expiry_date

    job table
    - id
    - title

    keywords table
    - id
    - keywords

    basic_details table
    - id
    - job_type
    - description

    location_datails table
    - location
    - start_date

    pay table
    - salary/ rate
    - benefits

    Thanks guys!
     

    mldarshana

    Well-known member
  • Apr 2, 2007
    34,059
    1,404
    113
    ආශ්චර්ය අභියස :nerd:
    Scenario eka dannathuwa hariyatama kiyanna bae .. me wage ekak ei .. thawa multivalued attributes kadanna puluwan

    JOB_Table
    job_id, title, salary, benefits, keywords, jid, lid, start_date, description

    Job Types Table
    jid, job_description

    Location Table
    lid, location

    Agency_Table
    aid, agency, agency_contact_name, agency_telephone, agency_email, job_id, date_posted, expiry_date
     

    DjSpK

    Well-known member
  • Nov 4, 2008
    5,298
    1,005
    113
    I'm Looking for Me !
    ^ above one is correct but create another table to save contact information's if you want to add more than one email or more than one mobile , home numbers
    table contacts:
    aid,contact_type(mobile,email,home,office),value