Introduction to Database CSCI-340

The file is attached below:

— phpMyAdmin SQL Dump
— version 4.0.10.7
— http://www.phpmyadmin.net

— Host: localhost
— Generation Time: Mar 20, 2015 at 01:43 AM
— Server version: 5.5.34-cll-lve
— PHP Version: 5.4.23

Don't use plagiarized sources. Get Your Custom Essay on
Introduction to Database CSCI-340
Just from $13/Page
Order Essay

SET SQL_MODE = “NO_AUTO_VALUE_ON_ZERO”;
SET time_zone = “+00:00”;

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;


— Database: `wrpracti_bookinfo`

— ——————————————————–


— Table structure for table `countries`

CREATE TABLE IF NOT EXISTS `countries` (
`COUNTRY_ID` varchar(2) NOT NULL,
`COUNTRY_NAME` varchar(40) DEFAULT NULL,
`REGION_ID` decimal(10,0) DEFAULT NULL,
PRIMARY KEY (`COUNTRY_ID`),
KEY `COUNTR_REG_FK` (`REGION_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


— Dumping data for table `countries`

INSERT INTO `countries` (`COUNTRY_ID`, `COUNTRY_NAME`, `REGION_ID`)
VALUES
(‘AR’, ‘Argentina’, ‘2’),
(‘AU’, ‘Australia’, ‘3’),
(‘BE’, ‘Belgium’, ‘1’),
(‘BR’, ‘Brazil’, ‘2’),
(‘CA’, ‘Canada’, ‘2’),
(‘CH’, ‘Switzerland’, ‘1’),
(‘CN’, ‘China’, ‘3’),
(‘DE’, ‘Germany’, ‘1’),

(‘DK’, ‘Denmark’, ‘1’),
(‘EG’, ‘Egypt’, ‘4’),
(‘FR’, ‘France’, ‘1’),
(‘HK’, ‘HongKong’, ‘3’),
(‘IL’, ‘Israel’, ‘4’),
(‘IN’, ‘India’, ‘3’),
(‘IT’, ‘Italy’, ‘1’),
(‘JP’, ‘Japan’, ‘3’),
(‘KW’, ‘Kuwait’, ‘4’),
(‘MX’, ‘Mexico’, ‘2’),
(‘NG’, ‘Nigeria’, ‘4’),
(‘NL’, ‘Netherlands’, ‘1’),
(‘SG’, ‘Singapore’, ‘3’),
(‘UK’, ‘United Kingdom’, ‘1’),
(‘US’, ‘United States of America’, ‘2’),
(‘ZM’, ‘Zambia’, ‘4’),
(‘ZW’, ‘Zimbabwe’, ‘4’);

— ——————————————————–


— Table structure for table `departments`

CREATE TABLE IF NOT EXISTS `departments` (
`DEPARTMENT_ID` decimal(4,0) NOT NULL DEFAULT ‘0’,
`DEPARTMENT_NAME` varchar(30) NOT NULL,
`MANAGER_ID` decimal(6,0) DEFAULT NULL,
`LOCATION_ID` decimal(4,0) DEFAULT NULL,
PRIMARY KEY (`DEPARTMENT_ID`),
KEY `DEPT_MGR_FK` (`MANAGER_ID`),
KEY `DEPT_LOCATION_IX` (`LOCATION_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


— Dumping data for table `departments`

INSERT INTO `departments` (`DEPARTMENT_ID`, `DEPARTMENT_NAME`,
`MANAGER_ID`, `LOCATION_ID`) VALUES
(’10’, ‘Administration’, ‘200’, ‘1700’),
(’20’, ‘Marketing’, ‘201’, ‘1800’),
(’30’, ‘Purchasing’, ‘114’, ‘1700’),
(’40’, ‘Human Resources’, ‘203’, ‘2400’),
(’50’, ‘Shipping’, ‘121’, ‘1500’),
(’60’, ‘IT’, ‘103’, ‘1400’),
(’70’, ‘Public Relations’, ‘204’, ‘2700’),
(’80’, ‘Sales’, ‘145’, ‘2500’),
(’90’, ‘Executive’, ‘100’, ‘1700’),
(‘100’, ‘Finance’, ‘108’, ‘1700’),

(‘110’, ‘Accounting’, ‘205’, ‘1700’),
(‘120’, ‘Treasury’, ‘0’, ‘1700’),
(‘130’, ‘Corporate Tax’, ‘0’, ‘1700’),
(‘140’, ‘Control And Credit’, ‘0’, ‘1700’),
(‘150’, ‘Shareholder Services’, ‘0’, ‘1700’),
(‘160’, ‘Benefits’, ‘0’, ‘1700’),
(‘170’, ‘Manufacturing’, ‘0’, ‘1700’),
(‘180’, ‘Construction’, ‘0’, ‘1700’),
(‘190’, ‘Contracting’, ‘0’, ‘1700’),
(‘200’, ‘Operations’, ‘0’, ‘1700’),
(‘210’, ‘IT Support’, ‘0’, ‘1700’),
(‘220’, ‘NOC’, ‘0’, ‘1700’),
(‘230’, ‘IT Helpdesk’, ‘0’, ‘1700’),
(‘240’, ‘Government Sales’, ‘0’, ‘1700’),
(‘250’, ‘Retail Sales’, ‘0’, ‘1700’),
(‘260’, ‘Recruiting’, ‘0’, ‘1700’),
(‘270’, ‘Payroll’, ‘0’, ‘1700’);

— ——————————————————–


— Table structure for table `job_history`

CREATE TABLE IF NOT EXISTS `job_history` (
`EMPLOYEE_ID` decimal(6,0) NOT NULL,
`START_DATE` date NOT NULL,
`END_DATE` date NOT NULL,
`JOB_ID` varchar(10) NOT NULL,
`DEPARTMENT_ID` decimal(4,0) DEFAULT NULL,
PRIMARY KEY (`EMPLOYEE_ID`,`START_DATE`),
KEY `JHIST_DEPARTMENT_IX` (`DEPARTMENT_ID`),
KEY `JHIST_EMPLOYEE_IX` (`EMPLOYEE_ID`),
KEY `JHIST_JOB_IX` (`JOB_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


— Dumping data for table `job_history`

INSERT INTO `job_history` (`EMPLOYEE_ID`, `START_DATE`, `END_DATE`,
`JOB_ID`, `DEPARTMENT_ID`) VALUES
(‘102’, ‘1993-01-13’, ‘1998-07-24’, ‘IT_PROG’, ’60’),
(‘101’, ‘1989-09-21’, ‘1993-10-27’, ‘AC_ACCOUNT’, ‘110’),
(‘101’, ‘1993-10-28’, ‘1997-03-15’, ‘AC_MGR’, ‘110’),
(‘201’, ‘1996-02-17’, ‘1999-12-19’, ‘MK_REP’, ’20’),
(‘114’, ‘1998-03-24’, ‘1999-12-31’, ‘ST_CLERK’, ’50’),
(‘122’, ‘1999-01-01’, ‘1999-12-31’, ‘ST_CLERK’, ’50’),
(‘200’, ‘1987-09-17’, ‘1993-06-17’, ‘AD_ASST’, ’90’),
(‘176’, ‘1998-03-24’, ‘1998-12-31’, ‘SA_REP’, ’80’),

(‘176’, ‘1999-01-01’, ‘1999-12-31’, ‘SA_MAN’, ’80’),
(‘200’, ‘1994-07-01’, ‘1998-12-31’, ‘AC_ACCOUNT’, ’90’),
(‘0’, ‘0000-00-00’, ‘0000-00-00’, ”, ‘0’);

— ——————————————————–


— Table structure for table `jobs`

CREATE TABLE IF NOT EXISTS `jobs` (
`JOB_ID` varchar(10) NOT NULL DEFAULT ”,
`JOB_TITLE` varchar(35) NOT NULL,
`MIN_SALARY` decimal(6,0) DEFAULT NULL,
`MAX_SALARY` decimal(6,0) DEFAULT NULL,
PRIMARY KEY (`JOB_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


— Dumping data for table `jobs`

INSERT INTO `jobs` (`JOB_ID`, `JOB_TITLE`, `MIN_SALARY`, `MAX_SALARY`)
VALUES
(‘AD_PRES’, ‘President’, ‘20000’, ‘40000’),
(‘AD_VP’, ‘Administration Vice President’, ‘15000’, ‘30000’),
(‘AD_ASST’, ‘Administration Assistant’, ‘3000’, ‘6000’),
(‘FI_MGR’, ‘Finance Manager’, ‘8200’, ‘16000’),
(‘FI_ACCOUNT’, ‘Accountant’, ‘4200’, ‘9000’),
(‘AC_MGR’, ‘Accounting Manager’, ‘8200’, ‘16000’),
(‘AC_ACCOUNT’, ‘Public Accountant’, ‘4200’, ‘9000’),
(‘SA_MAN’, ‘Sales Manager’, ‘10000’, ‘20000’),
(‘SA_REP’, ‘Sales Representative’, ‘6000’, ‘12000’),
(‘PU_MAN’, ‘Purchasing Manager’, ‘8000’, ‘15000’),
(‘PU_CLERK’, ‘Purchasing Clerk’, ‘2500’, ‘5500’),
(‘ST_MAN’, ‘Stock Manager’, ‘5500’, ‘8500’),
(‘ST_CLERK’, ‘Stock Clerk’, ‘2000’, ‘5000’),
(‘SH_CLERK’, ‘Shipping Clerk’, ‘2500’, ‘5500’),
(‘IT_PROG’, ‘Programmer’, ‘4000’, ‘10000’),
(‘MK_MAN’, ‘Marketing Manager’, ‘9000’, ‘15000’),
(‘MK_REP’, ‘Marketing Representative’, ‘4000’, ‘9000’),
(‘HR_REP’, ‘Human Resources Representative’, ‘4000’, ‘9000’),
(‘PR_REP’, ‘Public Relations Representative’, ‘4500’, ‘10500’);

— ——————————————————–


— Table structure for table `locations`

CREATE TABLE IF NOT EXISTS `locations` (
`LOCATION_ID` decimal(4,0) NOT NULL DEFAULT ‘0’,
`STREET_ADDRESS` varchar(40) DEFAULT NULL,
`POSTAL_CODE` varchar(12) DEFAULT NULL,
`CITY` varchar(30) NOT NULL,
`STATE_PROVINCE` varchar(25) DEFAULT NULL,
`COUNTRY_ID` varchar(2) DEFAULT NULL,
PRIMARY KEY (`LOCATION_ID`),
KEY `LOC_CITY_IX` (`CITY`),
KEY `LOC_COUNTRY_IX` (`COUNTRY_ID`),
KEY `LOC_STATE_PROVINCE_IX` (`STATE_PROVINCE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


— Dumping data for table `locations`

INSERT INTO `locations` (`LOCATION_ID`, `STREET_ADDRESS`,
`POSTAL_CODE`, `CITY`, `STATE_PROVINCE`, `COUNTRY_ID`) VALUES
(‘1000’, ‘1297 Via Cola di Rie’, ‘989’, ‘Roma’, ”, ‘IT’),
(‘1100’, ‘93091 Calle della Testa’, ‘10934’, ‘Venice’, ”, ‘IT’),
(‘1200’, ‘2017 Shinjuku-ku’, ‘1689’, ‘Tokyo’, ‘Tokyo Prefecture’,
‘JP’),
(‘1300’, ‘9450 Kamiya-cho’, ‘6823’, ‘Hiroshima’, ”, ‘JP’),
(‘1400’, ‘2014 Jabberwocky Rd’, ‘26192’, ‘Southlake’, ‘Texas’, ‘US’),
(‘1500’, ‘2011 Interiors Blvd’, ‘99236’, ‘South San Francisco’,
‘California’, ‘US’),
(‘1600’, ‘2007 Zagora St’, ‘50090’, ‘South Brunswick’, ‘New Jersey’,
‘US’),
(‘1700’, ‘2004 Charade Rd’, ‘98199’, ‘Seattle’, ‘Washington’, ‘US’),
(‘1800’, ‘147 Spadina Ave’, ‘M5V 2L7’, ‘Toronto’, ‘Ontario’, ‘CA’),
(‘1900’, ‘6092 Boxwood St’, ‘YSW 9T2’, ‘Whitehorse’, ‘Yukon’, ‘CA’),
(‘2000′, ’40-5-12 Laogianggen’, ‘190518’, ‘Beijing’, ”, ‘CN’),
(‘2100’, ‘1298 Vileparle (E)’, ‘490231’, ‘Bombay’, ‘Maharashtra’,
‘IN’),
(‘2200′, ’12-98 Victoria Street’, ‘2901’, ‘Sydney’, ‘New South Wales’,
‘AU’),
(‘2300’, ‘198 Clementi North’, ‘540198’, ‘Singapore’, ”, ‘SG’),
(‘2400’, ‘8204 Arthur St’, ”, ‘London’, ”, ‘UK’),
(‘2500’, ‘”Magdalen Centre’, ‘ The Oxford ‘, ‘OX9 9ZB’, ‘Oxford’,
‘Ox’),
(‘2600’, ‘9702 Chester Road’, ‘9629850293’, ‘Stretford’, ‘Manchester’,
‘UK’),
(‘2700’, ‘Schwanthalerstr. 7031’, ‘80925’, ‘Munich’, ‘Bavaria’, ‘DE’),
(‘2800’, ‘Rua Frei Caneca 1360’, ‘01307-002’, ‘Sao Paulo’, ‘Sao
Paulo’, ‘BR’),
(‘2900′, ’20 Rue des Corps-Saints’, ‘1730’, ‘Geneva’, ‘Geneve’, ‘CH’),
(‘3000’, ‘Murtenstrasse 921’, ‘3095’, ‘Bern’, ‘BE’, ‘CH’),
(‘3100’, ‘Pieter Breughelstraat 837’, ‘3029SK’, ‘Utrecht’, ‘Utrecht’,
‘NL’),

(‘3200’, ‘Mariano Escobedo 9991’, ‘11932’, ‘Mexico City’, ‘”Distrito
Federal’, ‘”‘);

— ——————————————————–


— Table structure for table `regions`

CREATE TABLE IF NOT EXISTS `regions` (
`REGION_ID` decimal(5,0) NOT NULL,
`REGION_NAME` varchar(25) DEFAULT NULL,
PRIMARY KEY (`REGION_ID`),
UNIQUE KEY `sss` (`REGION_NAME`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


— Dumping data for table `regions`

INSERT INTO `regions` (`REGION_ID`, `REGION_NAME`) VALUES
(‘1’, ‘Europe\r’),
(‘2’, ‘Americas\r’),
(‘3’, ‘Asia\r’),
(‘4’, ‘Middle East and Africa\r’);

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

What Will You Get?

We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.

Premium Quality

Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.

Experienced Writers

Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.

On-Time Delivery

Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.

24/7 Customer Support

Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.

Complete Confidentiality

Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.

Authentic Sources

We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.

Moneyback Guarantee

Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.

Order Tracking

You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.

image

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

image

Trusted Partner of 9650+ Students for Writing

From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.

Preferred Writer

Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.

Grammar Check Report

Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.

One Page Summary

You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.

Plagiarism Report

You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.

Free Features $66FREE

  • Most Qualified Writer $10FREE
  • Plagiarism Scan Report $10FREE
  • Unlimited Revisions $08FREE
  • Paper Formatting $05FREE
  • Cover Page $05FREE
  • Referencing & Bibliography $10FREE
  • Dedicated User Area $08FREE
  • 24/7 Order Tracking $05FREE
  • Periodic Email Alerts $05FREE
image

Our Services

Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.

  • On-time Delivery
  • 24/7 Order Tracking
  • Access to Authentic Sources
Academic Writing

We create perfect papers according to the guidelines.

Professional Editing

We seamlessly edit out errors from your papers.

Thorough Proofreading

We thoroughly read your final draft to identify errors.

image

Delegate Your Challenging Writing Tasks to Experienced Professionals

Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!

Check Out Our Sample Work

Dedication. Quality. Commitment. Punctuality

Categories
All samples
Essay (any type)
Essay (any type)
The Value of a Nursing Degree
Undergrad. (yrs 3-4)
Nursing
2
View this sample

It May Not Be Much, but It’s Honest Work!

Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.

0+

Happy Clients

0+

Words Written This Week

0+

Ongoing Orders

0%

Customer Satisfaction Rate
image

Process as Fine as Brewed Coffee

We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.

See How We Helped 9000+ Students Achieve Success

image

We Analyze Your Problem and Offer Customized Writing

We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.

  • Clear elicitation of your requirements.
  • Customized writing as per your needs.

We Mirror Your Guidelines to Deliver Quality Services

We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.

  • Proactive analysis of your writing.
  • Active communication to understand requirements.
image
image

We Handle Your Writing Tasks to Ensure Excellent Grades

We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.

  • Thorough research and analysis for every order.
  • Deliverance of reliable writing service to improve your grades.
Place an Order Start Chat Now
image

Order your essay today and save 30% with the discount code Happy