Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

* D. Create a table named charity with two columns: an auto incrementing id and the name of the charity that volunteers can donate to.

image text in transcribed

* D. Create a table named charity with two columns: an auto incrementing id and the name of the charity that volunteers can donate to. Some charities can include, but are certainly not limited to, American Red Cross, American Cancer Society, Puppies Behind Bars, St Judes Childrens Hospital, etc. Establish the appropriate relationship between charity and volunteer so that one volunteer can donate to multiple charities and that one charity can have multiple volunteers donating to it. For each donation, also record the amount donated (assume that the donation is a whole number). Write and submit the SQL code to create charity and any other necessary table.

foreign-language id INT 11) langname VARCHAR(15) Indxs volunteer xnumber VARCHAR() last name VARCHAR30) frst- arme VARCHAR(30) sx VARCHAR(6) da otbirth DATE grad-year YEAR(4) comfnyd VARCHAR(2) In dxes volunteer hours voluntee xnumber VARCHAR (5) valunteer_date DATE organizaton VARCHAR(45) num hour INT(11) Indxs company id VARCHAR(2) majo te VARCHAR 45) eperment VARCHAR(45) barracks VARCHAR 15) tac VARCHAR(45) Indxs sprirg break_2018 id DIT(11 volunteer_knows_toreign languaqu valuntexnumber VARCHAR(6) foreign-language INT(11) proficiency VARCHAR(45) locVARCHAR 20) Indxs - op-cost DIT(11) Indxs

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

More Books

Students also viewed these Databases questions