Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

when is a table needed or not needed?

Featured Replies

I have a basic understanding, but confuse myself every time I begin to create a relational database.

Please tell me if my thinking is correct here. I need to track employees in positions for each shift per day. What I currently have is this, but I'm questioning one table:

Picture1-2.png

The 'shifts' table now seems redundant. While each day has 2 (and sometimes 3) shifts and each shift has multiple shift-positions, there's only one attribute for each shift (day, night, or detail). In shift-positions I need to reference which shift it belongs to, using a foreign key to do so. I could just move that shift attribute to the shift-position table, eliminating the shift table and keeping the same number of fields in shift-positions. The relationship between days and shift-positions would then be one step instead of two.

So, which is more correct? and why?

As always, thank-you for your time and help!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.