Results 1 to 3 of 3
  1. #1
    Aviator is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2016
    Posts
    1

    Need help designing a database

    I've been trying to set up a database, but i'm affraid i'm getting lost in the complexity.
    Let's say i want to document commercial aircraft.
    First of all, i want to show a rough ERD i've drafted.

    Click image for larger version. 

Name:	Untitled Diagram.png 
Views:	22 
Size:	17.2 KB 
ID:	24098

    Of course, aircraft can be devided in helicopters and fixed wing. Aircraft come in different types, and types come in different variations.
    Example: A boeing 747 (fixed wing, turbine engine, turbofan) can be a passenger aircraft or a freight carrier, and can have different types of engines.
    What I want is a "master record" of ,let's say, a boeing 747 with general data like an image, wingspan, year of first flight etc.
    I also want to keep track of variations with specific engine information, operators (airlines), registration numbers etc.
    Airlines can be specified by alliances, country of origin, hubs (home airport)
    I've tried to identify some common variables, but i'm not sure how to translate this into logical tables.



    The hierarchy could look something like this:

    Aircraft
    FixedWing/RotaryWing
    Engine type (turbofan/turboshaft/piston)
    Type (example Boeing 777) (general information, with image. Must be "printable with as much general information as posible)
    Version (example 777-200, Extended Range, 777-9x)
    Variation/specific aircraft (with specific information: operator, specific image, registration number. Must also be printable)

    Some information does not apply to all records: a fixed wing aircraft has no rotor, but might have a common manufacturer or operator. So how to make sure only the relevant fields are stored/recalled? Does this mean it should be seperate tables?

    Also i want to create records on countries, airports, alliances, airlines.

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    will you need list/static tables for look up - and you need what is called a transaction table that is the intersection where all things are put together.

    In analogy is street addresses; there are numbers, street names, city names, state names

    one should have a table for states, a table for cities.... the idea of a table for street names could be or perhaps there are too many... and it is probably not practical to attempt a table with all numbers

    so then you make the table 'Addresses' with a field for number that is free form typed in, the field Street can be a look up of the Street table, the field City is a look up of the City table, the field State is a look up of the State table

    I use this analogy to show that there is some decisions based on your insight to your business. You need to determine which sets should be lists tables to be looked up...and in the end you have the master table that pulls it all together.

  3. #3
    orange's Avatar
    orange is online now Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    aviator,

    You may get some ideas for your hierarchy
    Some information does not apply to all records
    from these links/articles.

    The topic in modelling terms is supertype/subtype
    1.Dr Daniel Soper database series-- subtype/supertype at about the 44 minute mark--data modelling
    2.Generalization
    3.see page 199+ in this article
    4.subclassing at MVPS.org

    A good tutorial for database design concepts is this one from RogersAccessLibrary. You have to work through the tutorial (30-45 minutes), but you'll learn, and what you learn can be used with any database. It has a guide and a solution. Probably less time since you have created a data model/ERD.

    Good luck.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Need help designing a database
    By docpanderson in forum Programming
    Replies: 4
    Last Post: 07-01-2014, 03:03 PM
  2. database designing
    By tommyried in forum Database Design
    Replies: 1
    Last Post: 02-27-2014, 12:41 PM
  3. Designing my database
    By ldypurple in forum Database Design
    Replies: 11
    Last Post: 03-06-2013, 10:58 PM
  4. Designing a database for a log
    By neo651 in forum Database Design
    Replies: 3
    Last Post: 10-31-2011, 11:45 AM
  5. Help with designing database
    By nimalp in forum Access
    Replies: 6
    Last Post: 09-15-2010, 10:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums