Hi
I am new to database design. I am building a database to handle the paperwork for boat companies maintenance. I have made a series of tables using foreign keys to interlock the tables. I think ive done it wrong as i have relationships from the first table to all subsequent tables. See pic. Is it enough to just link one table to the next without all these extra relationships?
Regards
Russ
Russ,
It depends. Based upon your relationships, it says that your Vessels, Equipment, Tasks and Task Done all have a company associated with them. This is not "inherently" incorrect, as this may be true. But, typically, we don't associate a company with a Task or a Task Done.
By the way, are you working in MS Access or MySQL? I'm happy to move this thread to MS Access if so. Being new to DB design, it might be quite a leap to jump directly into MySQL, but stranger things have happened....
Sounds like there may be more structurally unsound in your DB than just how many other tables one table is related to. You may want to review this article on Database Normalization first before you continue.
2 2295
Russ,
It depends. Based upon your relationships, it says that your Vessels, Equipment, Tasks and Task Done all have a company associated with them. This is not "inherently" incorrect, as this may be true. But, typically, we don't associate a company with a Task or a Task Done.
By the way, are you working in MS Access or MySQL? I'm happy to move this thread to MS Access if so. Being new to DB design, it might be quite a leap to jump directly into MySQL, but stranger things have happened....
Sounds like there may be more structurally unsound in your DB than just how many other tables one table is related to. You may want to review this article on Database Normalization first before you continue.
Thanks, Twinny and yes I'm learning them both. I need to use MySQL because I want it to be web-based, so people can enter and retrieve data via their own devices. The company is included so I could alow separate businesses to use it, but restrict data based on a company login. I am using access to test my tables as its easier to build forms and querys there for me at this stage. I am then creating a similar set up in MySQL. I have cleaned up some of the excess fields in my second DB.
Russ
Sign in to post your reply or Sign up for a free account.
Similar topics
by: gaffar |
last post by:
Sir,
I am developing an application in vb.net and the backend database is
ms-access. i have created ms-access databse and tables and assigned primary
keys to the
tables through the vb.net...
|
by: Paradigm |
last post by:
I am new to MYSQL (been working with Access for years and now seen the
light). One thing I cannot get sorted is how to create relationships between
my SQL tables.
Can someone point me in the right...
|
by: Ealadi |
last post by:
In an access database I have two tables: "Students" and "Postnr"
The first table has various students' information including fields
labelled "Postnr." and "City". Another table has only two...
|
by: runners4bush |
last post by:
In general will I see any query performance gains?
More of a DB2 guy myself.
Regards
Phil
|
by: missboom |
last post by:
Hi there,
this one has been annoying me and i know it *should* be simple, im
creating a database that has users, and every user will have an
administrator in charge of them, so one user will...
|
by: missboom |
last post by:
I am creating a db for users in a company, each user uses different
programes (a choice of 5) some may use one and some may use many, each
program has different settings and in the db has a table...
|
by: hirak1984 |
last post by:
hi, i have to get the relationship among various primary and foreign keys in different tables in a schema.
e.g==>the output will be like........
...... is the primary key of ..........table,...
|
by: morleyc |
last post by:
Hi, i've started a c# project using MS compact SQL as a datasource. I
am able to add tables in the server explorer and columns in these
tables, but how can i add relationships between tables...
|
by: desklamp |
last post by:
Access 2003 on Win2K
The tables involved:
an IP address table, tblIP, where basic IP address information is stored: IP, WHOIS, reverse DNS name, etc.
an event IP table, tblIPEvent, where...
|
by: Roger |
last post by:
I've moved all my tables to sql server2005 and I've created the
appropriate relationships
now I create links to two such tables that have a relationship into ms-
acess97
but when I add the two...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| |