A Database Relationship and How to Build It Essay

Exclusively available on Available only on IvyPanda®
This academic paper example has been carefully picked, checked and refined by our editorial team.
You are free to use it for the following purposes:
  • To find inspiration for your paper and overcome writer’s block
  • As a source of information (ensure proper referencing)
  • As a template for you assignment

A database relationship is a situation in which one entity refers to the primary key of the second entity. The relationships are determined during the database design process. To determine these relations it is necessary to analyze the essence and identify the logical connections that exist between them. The type of relationship determines the number of entity records associated with a record of another entity.

The names of the relationship and the attributes of this relationship are called the schema of the relationship. is represented as the name of the relationship, followed by a list of attributes enclosed in parentheses, for example: movies (name, year, duration, genre)( (Vyawahare et al., 2018). A database project executed within the framework of a relational model includes one or more relationship schemes (Vyawahare et al., 2018). A set of relationship schemas is called a relational database schema; relationships are divided into three main types (Vyawahare et al., 2018). The first type is one-to-one relationship where each record of the first entity corresponds to only one record from the second entity and vise versa. For example, there are two entities: people and birth certificates, and one person can have only one birth certificate.

In the relation of the kind one-to-many, each record of the first entity can correspond to several records from the second entity. However, each record of the second entity corresponds to only one record from the first entity. For example, there are two entities: an order and an order item. While there may be many products in the order, every product from it refers to only one order. In many-to-many relationship, each record of the first entity can correspond to several records from the second entity and vise versa. For example, there are two entities: the author and the book. One author can write many books but a book can have multiple authors.

Database design is a set of processes that facilitate the design, development, implementation and maintenance of database management systems (DBMS). Properly designed databases help improve data consistency for disk storage. The tools used for designing database diagrams include such programs as Create Database Diagram Wizard, Dbdiagram.io, SqlDBM, Dbdesigner.net and some others (Vyawahare et al., 2018). Creating a database is related to describing the structure of future tables. The user must specify the names of all fields in the table, their types and formats.

Creating a new database begins with a description of the table structure. The user is asked to fill in a table of the table type where it is necessary to specify the primary key of the table (Goelman & Dietrich, 2018). This stage of work is similar to building a vegetable base. Compartments, refrigerators, containers, storage boxes for potatoes, carrots, onions, and cabbage, are put in it. In other words, a storage place is being prepared, but vegetables are not being imported yet. After the vegetable base is created, it is ready to receive vegetables. As a result of creating a database, a file with the specified name appears, the structure of the data that will be stored in it is determined (Goelman & Dietrich, 2018). But the database is empty, there is no information in it yet. After this, one should fill the database with data, which would equal to bringing vegetables in the above example. The input can occur through a form that takes into account the structure of the table entries (Goelman & Dietrich, 2018). Adding entries or input is repeated until the last entry is entered. After saving the file, the creation of the database is completed, and now it can be accessed with queries.

References

Vyawahare, H. R., Karde, P. P., & Thakare, V. M. (2018). A hybrid database approach using graph and relational database. In 2018 International Conference on Research in Intelligent and Computing in Engineering (RICE) (pp. 1-4).

Goelman, D., & Dietrich, S. W. (2018). A Visual introduction to conceptual database design for all. In Proceedings of the 49th ACM Technical Symposium on Computer Science Education (pp. 320-325).

More related papers Related Essay Examples
Cite This paper
You're welcome to use this sample in your assignment. Be sure to cite it correctly

Reference

IvyPanda. (2023, August 19). A Database Relationship and How to Build It. https://ivypanda.com/essays/a-database-relationship-and-how-to-build-it/

Work Cited

"A Database Relationship and How to Build It." IvyPanda, 19 Aug. 2023, ivypanda.com/essays/a-database-relationship-and-how-to-build-it/.

References

IvyPanda. (2023) 'A Database Relationship and How to Build It'. 19 August.

References

IvyPanda. 2023. "A Database Relationship and How to Build It." August 19, 2023. https://ivypanda.com/essays/a-database-relationship-and-how-to-build-it/.

1. IvyPanda. "A Database Relationship and How to Build It." August 19, 2023. https://ivypanda.com/essays/a-database-relationship-and-how-to-build-it/.


Bibliography


IvyPanda. "A Database Relationship and How to Build It." August 19, 2023. https://ivypanda.com/essays/a-database-relationship-and-how-to-build-it/.

If, for any reason, you believe that this content should not be published on our website, please request its removal.
Updated:
Privacy Settings

IvyPanda uses cookies and similar technologies to enhance your experience, enabling functionalities such as:

  • Basic site functions
  • Ensuring secure, safe transactions
  • Secure account login
  • Remembering account, browser, and regional preferences
  • Remembering privacy and security settings
  • Analyzing site traffic and usage
  • Personalized search, content, and recommendations
  • Displaying relevant, targeted ads on and off IvyPanda

Please refer to IvyPanda's Cookies Policy and Privacy Policy for detailed information.

Required Cookies & Technologies
Always active

Certain technologies we use are essential for critical functions such as security and site integrity, account authentication, security and privacy preferences, internal site usage and maintenance data, and ensuring the site operates correctly for browsing and transactions.

Site Customization

Cookies and similar technologies are used to enhance your experience by:

  • Remembering general and regional preferences
  • Personalizing content, search, recommendations, and offers

Some functions, such as personalized recommendations, account preferences, or localization, may not work correctly without these technologies. For more details, please refer to IvyPanda's Cookies Policy.

Personalized Advertising

To enable personalized advertising (such as interest-based ads), we may share your data with our marketing and advertising partners using cookies and other technologies. These partners may have their own information collected about you. Turning off the personalized advertising setting won't stop you from seeing IvyPanda ads, but it may make the ads you see less relevant or more repetitive.

Personalized advertising may be considered a "sale" or "sharing" of the information under California and other state privacy laws, and you may have the right to opt out. Turning off personalized advertising allows you to exercise your right to opt out. Learn more in IvyPanda's Cookies Policy and Privacy Policy.

1 / 1