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 6653143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:13:57+00:00 2026-05-26T01:13:57+00:00

folks! I need some help with organizing database for application and I have no

  • 0

folks! I need some help with organizing database for application and I have no idea how to do it. Suppose following:
There is a list of academic subjects. For each subject we need to have a list of academic groups, which attend this subject. Then, for each group we need to have a list of dates. And for each date we need to have a list of students, and whether this student was present that day or not.
I have ugly data structures in my mind, will appreciate any help.

UPDATE

How do I see it:

Table1(the first col is date and second is list student’s id, who were present)

10/10/11 | id1, id2, id3

10/11/11 | id1, 1d3, id5

Table2:

subject1 | id1 id2 id3

subject2 | id3 id2

And again, ids are id of groups. Dont know how to connect those tables.

  • 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-26T01:13:57+00:00Added an answer on May 26, 2026 at 1:13 am

    There are many considerations to balance when designing a database, but based on the information you provided so far, something like this might be a good start:

    enter image description here

    This ER model uses a lot identifying relationships (i.e. “migrating” parent’s primary key into child’s PK) and results in natural primary keys, as opposed to non-identifying relationships that would require usage of surrogate keys. A lot of people like surrogate keys these days, but the truth is that both design strategies have pros and cons. In particular:

    • Natural keys are bigger (they “accumulate” fields over multiple levels of parent-child relationships).
    • But also, natural keys require less JOINing.
    • Natural keys can enforce constraints better in some special cases (such as diamond-shaped dependencies).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following situation and I'm expecting some expert advise from SO folks.
Folks, I need to maintain a C#/.Net desktop application. So, I need to set
Folks, I need to accomplish some sophisticated web crawling. The goal in simple words:
I am hoping some smart folks can help me here. I'm out of my
So I have some experience with Microsoft Access, building database apps for people, vba,
I have this regex which some kind folks on SO helped me with yesterday.
Folks, I need a solution that allows drag-and-drop cell over the table. The cells
folks, i need to retrieve colors of an image.. how to retrieve it?
Folks, We have been using OpenXml APIs found in System.IO.Packaging for creating a package
Folks, I really like the -Wshadow option since it helps to spot some possible

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.