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
Get step-by-step solutions from verified subject matter experts
