Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6336285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:01:39+00:00 2026-05-24T19:01:39+00:00

I’m trying to figure out the best way to normalize the following data set,

  • 0

I’m trying to figure out the best way to normalize the following data set, using Access 2010.

I’m building a database to track data entry from a group of workers. They are reading documents that are maps with code numbers for installation jobs all over them as well as associated information for these jobs, and entering these items into the database. There are two main types of code numbers that are gathered from each document. Currently I have all their data writing to a flat table. I have the following fields (* indicates the field can be blank):

  • workerID: worker’s ID number
  • documentID: unique string associated with each document
  • work_date: the date on which worker entered this data
  • code1: first type of code number
  • *code1Year: installation year associated with code1
  • *code1Type: string for code1’s job type
  • *code1Loc1: address number for code1 (type 1)
  • *code1Loc2: address number for code1 (type 2)
  • *code1Loc3: address number for code1 (type 3)
  • code2: second type of code number
  • groupID: membership group for code (can be used with either code1 or code2)
  • code1verified: boolean flag indicating that code1 and its associated info has been verified as correctly transcribed from the document
  • code2verified: boolean flag indicating that code2 and its associated info has been verified as correctly transcribed from the document

Here’s my normalization plan:

  • tableName: (PRIMARY_KEY),(foreign_key),field1,field2…
  • workers: (WORKER_ID)
  • groups: (GROUP_ID)
  • code1Type: (CODE1TYPE_ID),code1Type
  • workDays: (WORKDAY_ID),(worker_id),work_date
  • locTypes: (LOC_ID),locationType
  • code1: (CODE1_ID),(workday_id),code1,(code1Type_id),(group_id),code1verified
  • code1Loc:(CODE1LOC_ID),(code1_id),(loc_id),code1Loc
  • code1Year:(CODE1YEAR_ID),(code1_id),code1Year
  • code2: (CODE2_ID),(group_id),(workday_id),code2,code2verified

Is this the best way to relate these values to each other?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T19:01:40+00:00Added an answer on May 24, 2026 at 7:01 pm

    Without really knowing the data, the best I can say is it needs some work.

    I presume that code1Year, code1Type, and code1Loc* are not also encoded in code1.

    I think you are going still need a table to store the row that you’ve read in. It might only be something like this:

    • map_table: (MAP_ID), WORKER_ID, GROUP_ID, WORKDAY_ID, CODE1_ID, CODE1LOC_ID, CODE1YEAR_ID, CODE2_ID

    I’d consider dropping the separate table for CODE1YEAR, since it should just be an integer, and how often are you going relabel the year 2009 to something else. Likewise with WORKDAY_ID, why not just make it a date field.

    It’s not obvious to me why Code1 and Code2 include group_id and workday_id

    Also WORKER_ID and GROUP_ID seem kind of bare, unless they are only being used for validation of the IDs

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.