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 to Expert-Tailored 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

Recommended Textbook for

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

Students also viewed these Databases questions

Question

Understand employee mentoring

Answered: 1 week ago

Question

Appreciate the importance of new-employee orientation

Answered: 1 week ago