+ Reply to Thread
Results 1 to 6 of 6

is this a well designed table?

  1. #1
    Registered User
    Join Date
    01-14-2016
    Location
    toronto
    MS-Off Ver
    2013
    Posts
    7

    is this a well designed table?

    I am going to record studentís scores in a table like the following :
    Student names are looked up from student_list table and subjects from subject_list table.

    students_cores table:

    ID, studentname, subject, score

    1, john, mathematics, 80
    2, john, physics, 87
    3, john, history, 75
    4, john, biology, 90
    5, john, chemistry, 73
    6, john, mathematics, 84
    7, john, literature, 69
    8, Jack, mathematics, 79
    9, Jack, physics, 58
    10, Jack, history, 80
    11, Jack, biology, 93
    12, Jack, chemistry, 79
    13, Jack, mathematics, 71
    14, Jack, literature, 76
    .
    .
    .
    .
    Is it a good idea to have the above table? Is there a wiser way to record each student record for a given subject?
    thank you

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,086

    Re: is this a well designed table?

    The idea is right - one row per record - however, the linking field between the master student list and the results list should be an ID number (the primary ID in the student table), not the name.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Forum Expert
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    1,441

    Re: is this a well designed table?

    Arrange them within a table format as per attachment
    this presumes you are going to do some sort of analysis on the results.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,086

    Re: is this a well designed table?

    Arrange them within a table format as per attachment
    This is really BAD advice, sorry.

    In relational databases, all tables should have one row per record. Matrix tables should NEVER be used.

    All participants: this is an ACCESS query!
    Last edited by AliGW; 04-18-2020 at 11:43 AM.

  5. #5
    Forum Expert
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    1,441

    Re: is this a well designed table?

    My apologies I did not notice 'Access'
    As noted by @AliGW if this is RDMS then cross link provision needs to be made to the primary keys of the other two tables.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    18,257

    Re: is this a well designed table?

    Here is a great read on Data Normalization and Data Base Design.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Open UserForm Designed On Windows On Mac?
    By AJ0HN in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2018, 06:00 PM
  2. [SOLVED] When using CF as designed, new value is not visible until hitting enter.
    By PeteABC123 in forum Excel General
    Replies: 2
    Last Post: 06-23-2017, 10:32 AM
  3. Lock designed cells
    By ScaniaR730 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-07-2013, 04:58 PM
  4. Help with a formula:co-worker designed
    By Ltat42a in forum Excel General
    Replies: 3
    Last Post: 11-27-2007, 04:18 PM
  5. Is this designed for Offset Function?
    By John in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-24-2006, 05:15 PM
  6. Copy a designed worksheet into Word
    By Thomas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2005, 06:05 AM
  7. [SOLVED] Formula designed to reimburse employees up to a certain amt?
    By ddhawks in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2005, 02:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1