Nurture Can Do a Lot for You

Posted by sagasanep on December 10th, 2016

Access tables are classified as the primary building block of an Access database. They're 2-dimensional constructions which consist of rows (records) and columns (fields) and the theory inside of a relational database setting is that information is split up into discrete data structures and preserved in a number of related tables. In a database intended for a teaching institute rather than have one huge table that contains all the info Ice 9 Technology about every student and every individual course which they might attend it is better to provide just one table for students and one for courses which has a relation relating to the two. There are two forms of relationships; One-To-Many and Many-To-Many. A One-To-Many relationship indicates that one record can exist many times in another table. As an example, a class is taught by just one teacher therefore we express that "one particular teacher teaches many classes".

A class, on the other hand, can easily consist of many students but a student may additionally be present at many classes. This is why we say that the students and classes require a "Many-to-Many" relationship. In this case a junction table is needed between the two tables. Primary keys happen to be what Access utilizes to determine which field in a record specifies said record. By way of example, if a student called "John Smith" wished to join a course it would be confusing and pointless to inform Access to retrieve the information for John Smith belonging to the students table as there could well be two John Smiths. Incorporating the birth date wouldn't help since there might yet end up being two students with the exact same birth dates as well as names. Relational databases deal with this by awarding every single record a primary key that's unique to this record and can't be duplicated.

https://www.linkedin.com/pulse/ice-9-technology-review-james-austin

Like it? Share it!


sagasanep

About the Author

sagasanep
Joined: September 7th, 2016
Articles Posted: 25

More by this author