shows a basic ERD for an event's database. As shown, there are 4 entities: a. Event:...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
shows a basic ERD for an event's database. As shown, there are 4 entities: a. Event: shows the event, for example a conference on new database trends. b. Location: shows the location of an event can take place, for example SJ convention center in downtown San Jose or online (through zoom) or both. c. d. EventParticipants: shows a person as a participant of the event. For example, John Smith can attend the DB conference as keynote speaker (role) or a regular attendee. Pay attention to the relationships between the entities. All relationships have been identified as one to many (1:M) with one mandatory and many as optional. 2. Use SQL to design the following database. PK eventID name start Time end Time date Person: shows a person who would potentially attend the event. For example, John Smith. Event eventDescription FK participant FK location D EventParticipant HPK participanti role FK person 3. Create the tables with proper PK and FK Location HPK locationID location Description name address Person HPK personi firstName lastName 4. Populate the database with at least 3 entries for each category. (Use SQL to insert records). You will have to insert PK first before you can add a foreign key. 5. Make the following queries and display the results: a. All events that start at the same date (make sure you add two events with the same date in steps 3 and 4). b. All the participants as a keynote speak (set the role in EventParticipant table as keynote speaker). Set at least two participants as keynote speaker in steps 3 and 4. 6. Submit your SQL code, your database/table entries and print out of the query results. shows a basic ERD for an event's database. As shown, there are 4 entities: a. Event: shows the event, for example a conference on new database trends. b. Location: shows the location of an event can take place, for example SJ convention center in downtown San Jose or online (through zoom) or both. c. d. EventParticipants: shows a person as a participant of the event. For example, John Smith can attend the DB conference as keynote speaker (role) or a regular attendee. Pay attention to the relationships between the entities. All relationships have been identified as one to many (1:M) with one mandatory and many as optional. 2. Use SQL to design the following database. PK eventID name start Time end Time date Person: shows a person who would potentially attend the event. For example, John Smith. Event eventDescription FK participant FK location D EventParticipant HPK participanti role FK person 3. Create the tables with proper PK and FK Location HPK locationID location Description name address Person HPK personi firstName lastName 4. Populate the database with at least 3 entries for each category. (Use SQL to insert records). You will have to insert PK first before you can add a foreign key. 5. Make the following queries and display the results: a. All events that start at the same date (make sure you add two events with the same date in steps 3 and 4). b. All the participants as a keynote speak (set the role in EventParticipant table as keynote speaker). Set at least two participants as keynote speaker in steps 3 and 4. 6. Submit your SQL code, your database/table entries and print out of the query results.
Expert Answer:
Answer rating: 100% (QA)
It looks like youre being asked to create a database schema based on the provided EntityRelationship Diagram ERD populate the tables with some data and then run a couple of specific SQL queries Step 3 ... View the full answer
Related Book For
Modern Systems Analysis And Design
ISBN: 9780134204925
8th Edition
Authors: Joseph Valacich, Joey George
Posted Date:
Students also viewed these databases questions
-
Danny and Alice applied for a $90,000 mortgage loan at an annual interest rate of 10.5% for 30 years. What is the monthly payment? What is the Total Cost of the loan? What is the total interest?...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Watch the sample Persuasive Presentation Video link given in this module on Success is a Continuous Journey by Richard St. John .Answer the following questions in detail and use complete sentences....
-
Determine the horizontal and vertical components of force that the pins at A, B, and C exert on their connecting members. Units Used: kN = 103 N Given: F = 800 N a = 1 m r = 50 mm b = 0.2 m B C
-
Gloria withdraws $4000 from her rap to pay her credit card bill what will the withholding tax be on this withdrawal?
-
With reference to Exercise 4.87, find the mean and the variance of the distribution of the number of microelectrodes made from glass tubing using (a) the probabilities obtained in that exercise; (b)...
-
La Batre Bicycle Company manufactures commuter bicycles from recycled materials. The following data for July of the current year are available: Quantity of direct labor...
-
A ball of mass 0,5 kg is projected vertically downwards from a height of 1,8 m with an initial velocity of 2 m.s1. The ball hits the ground and bounces two times. The position-time graph for the...
-
Assume Pebble Inc. on October 15 purchased $3,800 of merchandise on credit. The next day, It recorded sales of $3,000; cost of sales was $2,600. Record the October 15 and October 16 entries. (Round...
-
when instantaneous speed do not change O Average Speed O Instantaneous Speed O Constant Speed O Average Velocity
-
In a perfectly competitive industry, if firms are making profits _____, which will result in zero profits in the long run__________; if there are losses in the short run, , resulting in zero profits...
-
It is given the force field of the question 13. Determine for what values of the constants the field is central and determine the potential. Question 13 A force field in the plane is described by the...
-
Suppose that events E and F are independent, P(E) = 0.4 and P(F) = 0.8. What is P(E and F)?
-
Suppose that events E and F are independent, P(E) = 0.3 and P(F) = 0.8. What is P(E and F)?
-
A device carries a mass \(m=1200 \mathrm{~kg}\), at a constant speed of \(80 \mathrm{~km} / \mathrm{h}\), has an acceleration equal to \(0.1 \mathrm{~m} / \mathrm{s}^{2}\), concordant with the speed....
-
(a) Let k be any real number and a < 1. Show that the function (1+x)k has the following power series representation (1 + x) = (h)a = 1+ kx + ? -x + k(k-1) 2! n=0 The above series is called the...
-
Thalina Mineral Works is one of the worlds leading producers of cultured pearls. The companys condensed statement of cash flows for the years 20182020 follows. Required Comment on Thalina Mineral...
-
Describe the types of system feedback. Is any form of feedback more important than the others? Why or why not?
-
Explain an extend relationship.
-
Review the guidelines for attaining usability of forms and reports in Table 10-9. Consider an online form you might use to register a guest at a hotel. For each usability factor, list two examples of...
-
After successful stretches at Target and Apple, it seemed as though Ron Johnson was a master marketer. But things went sour quickly after JC Penney hired him as its CEO. Johnsons attempt to reinvent...
-
One of the main fears that retail startups have is if they will be able to compete against Walmart, Home Depot, and the other big-box stores. This is a legitimate fear. Big-box stores continue to...
-
Influencer marketing is a type of marketing where companies partner with influencers, who have a significant following on social media platforms, to promote their products or services. Influencers...
Study smarter with the SolutionInn App