0% found this document useful (0 votes)
18 views

Addbase Diagramfinal

The document contains SQL statements to create multiple tables to store data about undergraduate students, alumni, jobs, post-graduate programs, and company locations. Tables are created for undergraduate students, alumni, jobs, post-graduate programs, and locations. Additional tables are later created for alumni, jobs, and a table to link alumni and jobs data.

Uploaded by

Leonard Suan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Addbase Diagramfinal

The document contains SQL statements to create multiple tables to store data about undergraduate students, alumni, jobs, post-graduate programs, and company locations. Tables are created for undergraduate students, alumni, jobs, post-graduate programs, and locations. Additional tables are later created for alumni, jobs, and a table to link alumni and jobs data.

Uploaded by

Leonard Suan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

CREATE TABLE Under_grad

( Concentration Varchar(20),

Year int(4),

Senior_proj Varchar(20),

);

CREATE TABLE Alumni

Al_name Varchar(20)

Al_id Varchar(20)

Picture jpeg

Year int

Email Varchar(20)

telNo Varchar(7)

address varchar(50)

degree varchar(20)

);

CREATE TABLE job

( Job_name Varchar(20)

Jdescript VARCHAR(30),

Pay Integer

Company Varchar(20)

Work_phone varchar(12)

Company_id varchar(20)

);
CREATE TABLE post_grad

School_name Varchar(30)

focus Varchar(20)

school_id Varchar(20)

);

CREATE TABLE location

( Company_id Varchar(7)

State Varchar(20)

City Varchar(20)

);

CREATE TABLE alumni

( Al_name Varchar(20)

Al_id Varchar(20)

Picture

Year int

Email Varchar(20)

telNo Varchar(7)

address varchar(50)

degree varchar(20)

);
CREATE TABLE job

Job_name Varchar(20)

Jdescript

Pay int

Company Varchar(20)

Company_id varchar(20)

Work_phone varchar(12)

);

Create table post_grad


School_name Varchar(20)
Focus varchar(20)

School_id varchar(20)

Create table location

State Varchar(20)

City Varchar(20)

Company_id varchar(7)
FINAL ENTITY RELATIONSHIP DIAGRAM

Create table alumni

Al_name Varchar(20)

Al_id Varchar(20)

telNo Varchar(7)

Year int

Picture

Email Varchar(20)

Concentration varchar(20)

S_prs_typ Varchar(20)

S_prs_web Varchar(20)

address varchar(50)

degree varchar(20)

Create table alumni_jobs

Company_ID Varchar(7)

Alumni_id Varchar(20)

Pay_range int

Start_date

Job_type Varchar(20)

Job_desc varchar(50)

Work_phone varchar(12)

Create table company

Company_id Varchar(7)

Company_name Varchar(20)

City Varchar(20)

State Varchar(20)

Grad_school Varchar(20)

Website Varchar(20)

You might also like