CREATE TABLE DONORS ( donor_id INT NOT NULL, donor_name varchar(255) NOT NULL, donor_age int, PRIMARY KEY (donor_id ) ); CREATE TABLE DONATIONS( pledge_id INT NOT NULL, pledge_date varchar(255) NOT NULL, amount_pledged int, Is_paid int, donor_id int, PRIMARY KEY (pledge_id ), FOREIGN KEY (donor_id) REFERENCES DONORS(donor_id) ); 1. Populate every relation with three rows.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter9: Working With Text Functions And Creating Custom Formats
Section: Chapter Questions
Problem 3RA
icon
Related questions
icon
Concept explainers
Question

CREATE TABLE DONORS (
donor_id INT NOT NULL,
donor_name varchar(255) NOT NULL,
donor_age int,
PRIMARY KEY (donor_id )
);
CREATE TABLE DONATIONS(
pledge_id INT NOT NULL,
pledge_date varchar(255) NOT NULL,
amount_pledged int,
Is_paid int,
donor_id int,
PRIMARY KEY (pledge_id ),
FOREIGN KEY (donor_id) REFERENCES DONORS(donor_id)
);

1. Populate every relation with three rows.

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage