Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Table: agentTable: affiliation Select data Show structure Alter table New item Column Type Comment aff _ id integer title character varying ( 2 0 )

Table: agentTable: affiliation
Select data Show structure Alter table New item
Column Type Comment
aff_id integer
title character varying(20) NULL
description character varying(50) NULL
Indexes
PRIMARY aff_id
Alter indexes
Foreign keys
Add foreign key
Triggers
Add trigger
Select data Show structure Alter table New item
Column Type Comment
agent_id integer
first character varying(20) NULL
middle character varying(20) NULL
last character varying(20) NULL
address character varying(50) NULL
city character varying(20) NULL
country character varying(20) NULL
salary integer NULL
clearance_id integer NULL
Indexes
PRIMARY agent_id
Alter indexes
Foreign keys
Source Target ON DELETE ON UPDATE
clearance_id securityclearance(sc_id) NO ACTION NO ACTION Alter
Add foreign key
Triggers
Add trigge

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions