Question: 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

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