Question: Write a SQL transaction statement that adds to a database of weddings a new couple. The schema for the relation is Wedding(id: integer, name: string,

Write a SQL transaction statement that adds to a database of weddings a new couple.

The schema for the relation is Wedding(id: integer, name: string, age:integer). Two persons with the same id are married.

We want to insert a new couple: Bob (46 years old) and Anne (45 years old). You can assume there is no key in such relation and the couple with the highest id value in Wedding has 100.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!