Relational Model Essay

Great Essays
Chapter 3 The Relational Model

Review Questions

3.1 Discuss each of the following concepts in the context of the relational data model:

(a) Relation (b) Attribute (c) Domain (d) Tuple (e) Intension and Extension (f) Degree and Cardinality.

Each term defined in Section 3.2.1.

Domain – Set of atomic (indivisible) values.
Attribute – it describes a component of the database, such as a table or a field.
N-tuple – in mathematics, an ordered set of n elements called its components or coordinates.
Relation Schema – It is representation of database highlighting relationships that we have created.
Relation State – set of tuples that have the same attributes.
…show more content…
Discuss the difference between a view and a base relation.

View is the dynamic result of one or more relational operations operating on the base relations to produce another relation. Base relation exists as a set of data in the database. A view does not contain any data, rather a view is defined as a query on one or more base relations and a query on the view is translated into a query on the associated base relations.

Exercises

The following tables form part of a database held in a relational DBMS:-

Hotel (hotelNo, hotelName, city) Room (roomNo, hotelNo, type, price) Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo) Guest (guestNo, guestName, guestAddress)

where Hotel contains hotel details and hotelNo is the primary key; Room contains room details for each hotel and (roomNo, hotelNo) forms the primary key; Booking contains details of the bookings and (hotelNo, guestNo, dateFrom) forms the primary key; and Guest contains guest details and guestNo is the primary key.

3.8 Identify the foreign keys in this schema. Explain how the entity and referential integrity rules apply to these

Related Documents

  • Decent Essays

    Pt1420 Unit 6 Essay

    • 225 Words
    • 1 Pages

    1. Significant figures are all the digits that can be known precisely in measurement as well as a last estimated digit. 2. The measurements are continuously reported to the correct number of significant figures, because the calculated answer frequently depends on the number of significant figures in the values used in the calculation. To determine significant rules in measurements, there are six rules that are applied to establish significant figures.…

    • 225 Words
    • 1 Pages
    Decent Essays
  • Great Essays

    Bsb301 Task 1 Essay

    • 1299 Words
    • 6 Pages

    Assessment Task 1 CASE STUDIES Learning outcomes measured: Describe the diverse groups of microorganisms associated with the human body, the impact of specific microorganisms on human health, and the body's responses to microbial pathogens Research and interpret the signs and symptoms of disease, the transmission of infectious diseases, and the appropriate infection control procedures to employ for a specific microbial pathogen Length: Short answer responses up to 300 words per question Estimated time to complete task: 1-2 hours per case study Weighting: 35 % Individual/Group: Individual Authentic Assessment: 0Yes 1 No Formative/Summative: Summative…

    • 1299 Words
    • 6 Pages
    Great Essays
  • Improved Essays

    3.1: Explain how a working relationship is different to a personal…

    • 678 Words
    • 3 Pages
    Improved Essays
  • Great Essays

    The Place at the Table event focused on the NFL Boycott and discussed the power of Colin Kaepernick’s campaign, in aspects ranging from his effectiveness, and the purpose of his message. Stemming from an outrage to police brutality and a desire to create a voice for the voiceless, Colin Kaepernick began kneeling during the National Anthem at his NFL games. Although it has cost him his career, Mr. Kaepernick continues to spread awareness and donate money to community projects that work to provide a voice to the silenced. This movement has changed over the course of the past year, now being used as a corporate chess piece for the NFL and anti-Trump propaganda. The important takeaway from this discussion was that media-framing is an important…

    • 1293 Words
    • 6 Pages
    Great Essays
  • Improved Essays

    Knapps Relationship Model

    • 917 Words
    • 4 Pages

    Knapp’s Relationship Model explores how relationships form and dissipate. Steps in Knapp’s Relationship Model can be skipped, and two persons in a relationship do not have to be at the same place in the model at the same time. The “coming together” section of the model contains five steps: Initiation, Experimentation, Intensifying, Integration, and Bonding. The first step, Initiation, is related to the first impression someone has about an individual based primarily on that individual’s physicality. During the second stage, Experimentation, individuals learn about one…

    • 917 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    After moving to a small, rural community in Pennsylvania from Philadelphia, I was shocked to see the limited amount of 12 step recovery meetings in this area. Since moving here, I have already run into several of my drug and alcohol clients at AA meetings, and the ethical issue of boundaries has needed to be dealt with. Scott (2000) stated, “many addictions counselors are also in recovery and attend 12-step programs in the community. Thus, they often find themselves in a dual role with clients, acting as a therapist in treatment and a peer in groups such as Alcoholics Anonymous,” (p. 213). Due to the fact that I am recovering myself, and need these meetings to maintain my own sobriety, being knowledgeable about the ethical guidelines regarding dual…

    • 938 Words
    • 4 Pages
    Improved Essays
  • Decent Essays

    Harvey Make-up Assignment for Digital Video Subject: Can “Thor: Ragnarok” be classified as a science fiction movie? Yes or no, justify your choice. Response: “Thor: Ragnarok” is a farce.…

    • 210 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    Social Interaction Essay

    • 1009 Words
    • 5 Pages

    Explain why it is important for a helping professional to be aware of the coaction of genes and environment. Be sure to include a definition of coaction, with examples. Coaction is any connection between organisms within a community. Gottlieb gave premium to coaction; he said that epigenesis involves the emergence of functional as well as hereditary competencies and properties. To me an example of coactions is a pregnant woman, the women need to eat healthy to provide food to the baby and she has to protect the baby from any harm.…

    • 1009 Words
    • 5 Pages
    Improved Essays
  • Superior Essays

    Building a relationship is known to be filled with intense feelings of admiration and affection. As in most Nicholas Sparks stories, the building of relationships is the most prominent theme. In the film “The Longest Ride”, directed by George Tillman Jr. but based off the book written by Nicholas Sparks, Luke, a well-known bull rider, and Sophia, an aspiring art major in college, stumble upon each other when least expected and begin their journey together as they form a relationship. During the time Luke and Sophia are getting to really know each other, Ira Levinson, a complete stranger in need of help, comes into their lives and inspires them with a love story like no other.…

    • 1310 Words
    • 6 Pages
    Superior Essays
  • Improved Essays

    Analyze one of your most important relationships. Begin by identifying the individual and briefly describing the relationship. Then use the principles in the chapters to analyze this relationship. One of my most important relationship is with my boyfriend. Our relationship consists of many aspects including emotional, physical, and spiritual.…

    • 707 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Nicolson et al. , (2011) recommend NHS Leaders to be a distributed one because; it can be transformational in cases where the conjoint action occurs in engaging the team. The researcher employs leaders to have awareness of their task; can engage their colleagues; have social and emotional intelligence as these elements determine the qualities of services to be delivered. The leadership framework, (2011) restatement the leadership role to be shared among clinician and not to be limited to those in leadership position alone. Figure 3: The Leadership framework Notes: NHS leadership Academy.…

    • 701 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    All other situations are private and only shared with necessary people with the permission of the parents or the child. Multiple-Role Relationships Psychologists often find themselves in relationships that service more than one purpose. This can cause conflict and potentially be unethical, so psychologists need to be aware of the rules for multiple-role relationships and go about them in a ethical way. Having a relationship, whether it is preexisting or new, with someone that you work with is not automatically unethical, but it can become unethical if you are not careful.…

    • 1832 Words
    • 7 Pages
    Improved Essays
  • Great Essays

    World Systems Theory Essay

    • 1744 Words
    • 7 Pages

    Immanuel Wallerstein's World Systems Theory is one of the many influential theories that has shaped the social sciences in the late 20th century. First proposing the theory in his 1974 book, The Modern World System, Wallerstein sees the concept as not a theory, but as part of a larger “knowledge movement” that “[rejects] social science categories inherited from the nineteenth century”, aiming to construct a new approach to social science (Wallenstein 2013: 1). This new approach conceptualises inter-state relationships in the global economic system as part of a larger “world system” instead of unilateral or bilateral behaviours, argues that historical and contemporary events must be view over the “long term”, and emphasises the need for a multidisciplinary…

    • 1744 Words
    • 7 Pages
    Great Essays
  • Great Essays

    Teacher Relationship Essay

    • 1555 Words
    • 7 Pages

    Teacher relationship and the effects on students At a young age, children are molded by the adults around them, shaping how they socially develop and their cognitive development. Once the child is at a school age, the most important adult around them beside family is their teacher. Thus the teacher-student relationship is formed and it must be a positive atmosphere to ensure the child to grow mentally and emotionally. Student-teacher relationships are studied and is found to have a correlation with the child’s social development, their cognitive development, and the child’s academic success.…

    • 1555 Words
    • 7 Pages
    Great Essays
  • Improved Essays

    A bond value table would include the following attributes: the par value of the bond, years left to maturity, the annual interest payment, required rate of return (or yield to maturity), and the present value (or market value) of the bond. The first two attributes would not be affected by any of the characteristics listed a bond characteristic information table, the last three attributes would. The par value of a bond is, “the face value of a bond that is returned to the bondholder at maturity”3. The face value of a bond is almost always in denominations of $1000. The maturity of a bond is, “the length of time until a bond issues returns the par value to the bondholder and terminates the bond”3.…

    • 1173 Words
    • 5 Pages
    Improved Essays