Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using SQL, populate the previous three tables with the following data: Table name: BASE Primary key: BASENUM Attribute (Field) Name Data Declaration BASENUM BASECITY BASESTATE

image text in transcribed

Using SQL, populate the previous three tables with the following data:

image text in transcribed

Table name: BASE Primary key: BASENUM Attribute (Field) Name Data Declaration BASENUM BASECITY BASESTATE BASEPHON BASEMGR CHAR(3) VARCHAR2(20) CHAR(2) VARCHAR2(10) VARCHAR2(10) Table name: TYPE Primary key: TYPENUM Attribute (Field) Name Data Declaration TYPENUM TYPEDESC CHAR(1) VARCHAR2(30) Table name: TRUCK Primary key: TNUM Foreign key: BASENUM, TYPENUM Attribute (Field) Name Data Declaration TNUM BASENUM TYPENUM TMILES TBOUGHT TSERIAL CHAR(4) CHAR(3) CHAR(1) NUMBER(7,1) DATE VARCHAR2(20) BASE BASENUM 501 502 TYPE TYPENUM BASECITY Dallas New York BASESTATE BASEPHONBASEMGR TX NY 893-9870 234-7689 J. Jones K. Lee TYPEDESC single box, double axle tandem trailer, single axle 2 TRUCK TNUM 1001 1002 1003 1004 TSERIAL BASENUM 501 502 501 TYPENUMM 2 2 2 TMILES 5900.2 64523.9 32116.0 3256.9 TBOUGHT 11/08/90 aa-125 11/08/90 09/29/91 01/14/92ac-315 ac-213 ac-215

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

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions