Hi all,
I´ve been reading and reading but it´s been some time since I´ve worked with Access, SQL, etc.
I´m trying to create a DB which in my eyes is pretty complicated but should be do-able, somehow i just get stuck in my thinking proces and i could surely need the input of people with way more experience.
The Db I need to create should give the people at my office a good search functionality for looking up when a boat starts a cruise, how long that cruise is (varying from 4 - 16 days), which sites it will visit (multiple sites per day), what the capacity of the boat is (max passengers), if it can be usd for diving or not, if it is in maintenance or not.
A (hopefully) quick rundown of what I have so far:
Table 1: Boats
BoatName - PK (102 boats in total)
CapacityID - FK
ClassID - FK
TypeID - FK
MaintenanceID - Yes/No - FK
DivingID - Yes/no FK
Table 2: Diving
DivingID - PK
Diving - Yes/No
Table 3: Maintenance
MaintenanceId - PK
Mainentance - Yes/no
Table 4: Capacity
CapacityID - PK
Capacity
Table 5: Class
ClassID - PK
Class
Table 6: Type
TypeID - PK
Type
Table 7: Dates
SailDate - PK
Table 8: Sites
SiteID - PK
Land
Place
Table 9: Days
DaysID - PK
SailingDays
I just have no idea at the moment (okay, for the last week) how to connect everything together. How can I make this all work together so that I can have my colleagues search for a boat that sails on a certain day of the week (i.e. Friday), a certain date, for a certain amount of time abd/or with certain sites to visit? To make it more complicated, all boats have various routes they travel and of various lengths, leaving on various days of the week
I understand if my question is unclear but any help is really appreciated
I´ve been reading and reading but it´s been some time since I´ve worked with Access, SQL, etc.
I´m trying to create a DB which in my eyes is pretty complicated but should be do-able, somehow i just get stuck in my thinking proces and i could surely need the input of people with way more experience.
The Db I need to create should give the people at my office a good search functionality for looking up when a boat starts a cruise, how long that cruise is (varying from 4 - 16 days), which sites it will visit (multiple sites per day), what the capacity of the boat is (max passengers), if it can be usd for diving or not, if it is in maintenance or not.
A (hopefully) quick rundown of what I have so far:
Table 1: Boats
BoatName - PK (102 boats in total)
CapacityID - FK
ClassID - FK
TypeID - FK
MaintenanceID - Yes/No - FK
DivingID - Yes/no FK
Table 2: Diving
DivingID - PK
Diving - Yes/No
Table 3: Maintenance
MaintenanceId - PK
Mainentance - Yes/no
Table 4: Capacity
CapacityID - PK
Capacity
Table 5: Class
ClassID - PK
Class
Table 6: Type
TypeID - PK
Type
Table 7: Dates
SailDate - PK
Table 8: Sites
SiteID - PK
Land
Place
Table 9: Days
DaysID - PK
SailingDays
I just have no idea at the moment (okay, for the last week) how to connect everything together. How can I make this all work together so that I can have my colleagues search for a boat that sails on a certain day of the week (i.e. Friday), a certain date, for a certain amount of time abd/or with certain sites to visit? To make it more complicated, all boats have various routes they travel and of various lengths, leaving on various days of the week

I understand if my question is unclear but any help is really appreciated
