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.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter3: Table Creation And Management
Section: Chapter Questions
Problem 3HOA: Add two columns to the EMPLOYEES table. One column, named EmpDate, contains the date of employment...
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
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage