SlideShare a Scribd company logo
1 of 56
-- script to create NORTHWOODS database
-- revised 8/17/2002 JM
-- modified 3/17/2004 LM
DROP TABLE enrollment CASCADE CONSTRAINTS;
DROP TABLE course_section CASCADE CONSTRAINTS;
DROP TABLE term CASCADE CONSTRAINTS;
DROP TABLE course CASCADE CONSTRAINTS;
DROP TABLE student CASCADE CONSTRAINTS;
DROP TABLE faculty CASCADE CONSTRAINTS;
DROP TABLE location CASCADE CONSTRAINTS;
CREATE TABLE LOCATION
(loc_id NUMBER(6),
bldg_code VARCHAR2(10),
room VARCHAR2(6),
capacity NUMBER(5),
CONSTRAINT location_loc_id_pk PRIMARY KEY (loc_id));
CREATE TABLE faculty
(f_id NUMBER(6),
f_last VARCHAR2(30),
f_first VARCHAR2(30),
f_mi CHAR(1),
loc_id NUMBER(5),
f_phone VARCHAR2(10),
f_rank VARCHAR2(9),
f_super NUMBER(6),
f_pin NUMBER(4),
f_image BLOB,
CONSTRAINT faculty_f_id_pk PRIMARY KEY(f_id),
CONSTRAINT faculty_loc_id_fk FOREIGN KEY (loc_id)
REFERENCES location(loc_id));
CREATE TABLE student
(s_id VARCHAR2(6),
s_last VARCHAR2(30),
s_first VARCHAR2(30),
s_mi CHAR(1),
s_address VARCHAR2(25),
s_city VARCHAR2(20),
s_state CHAR(2),
s_zip VARCHAR2(10),
s_phone VARCHAR2(10),
s_class CHAR(2),
s_dob DATE,
s_pin NUMBER(4),
f_id NUMBER(6),
time_enrolled INTERVAL YEAR TO MONTH,
CONSTRAINT student_s_id_pk PRIMARY KEY (s_id),
CONSTRAINT student_f_id_fk FOREIGN KEY (f_id)
REFERENCES faculty(f_id));
CREATE TABLE TERM
(term_id NUMBER(6),
term_desc VARCHAR2(20),
status VARCHAR2(20),
start_date DATE,
CONSTRAINT term_term_id_pk PRIMARY KEY (term_id),
CONSTRAINT term_status_cc CHECK ((status = 'OPEN') OR
(status = 'CLOSED')));
CREATE TABLE COURSE
(course_no VARCHAR2(7),
course_name VARCHAR2(25),
credits NUMBER(2),
CONSTRAINT course_course_id_pk PRIMARY
KEY(course_no));
CREATE TABLE COURSE_SECTION
(c_sec_id NUMBER(6),
course_no VARCHAR2(7) CONSTRAINT
course_section_courseid_nn NOT NULL,
term_id NUMBER(6) CONSTRAINT course_section_termid_nn
NOT NULL,
sec_num NUMBER(2) CONSTRAINT
course_section_secnum_nn NOT NULL,
f_id NUMBER(6),
c_sec_day VARCHAR2(10),
c_sec_time DATE,
c_sec_duration INTERVAL DAY TO SECOND,
loc_id NUMBER(6),
max_enrl NUMBER(4) CONSTRAINT
course_section_maxenrl_nn NOT NULL,
CONSTRAINT course_section_csec_id_pk PRIMARY KEY
(c_sec_id),
CONSTRAINT course_section_cid_fk FOREIGN KEY
(course_no) REFERENCES course(course_no),
CONSTRAINT course_section_loc_id_fk FOREIGN KEY
(loc_id) REFERENCES location(loc_id),
CONSTRAINT course_section_termid_fk FOREIGN KEY
(term_id) REFERENCES term(term_id),
CONSTRAINT course_section_fid_fk FOREIGN KEY (f_id)
REFERENCES faculty(f_id));
CREATE TABLE ENROLLMENT
(s_id VARCHAR2(6),
c_sec_id NUMBER(6),
grade CHAR(1),
CONSTRAINT enrollment_pk PRIMARY KEY (s_id, c_sec_id),
CONSTRAINT enrollment_sid_fk FOREIGN KEY (s_id)
REFERENCES student(s_id),
CONSTRAINT enrollment_csecid_fk FOREIGN KEY
(c_sec_id) REFERENCES course_section (c_sec_id));
---- inserting into LOCATION table
INSERT INTO location VALUES
(1, 'CR', '101', 150);
INSERT INTO location VALUES
(2, 'CR', '202', 40);
INSERT INTO location VALUES
(3, 'CR', '103', 35);
INSERT INTO location VALUES
(4, 'CR', '105', 35);
INSERT INTO location VALUES
(5, 'BUS', '105', 42);
INSERT INTO location VALUES
(6, 'BUS', '404', 35);
INSERT INTO location VALUES
(7, 'BUS', '421', 35);
INSERT INTO location VALUES
(8, 'BUS', '211', 55);
INSERT INTO location VALUES
(9, 'BUS', '424', 1);
INSERT INTO location VALUES
(10, 'BUS', '402', 1);
INSERT INTO location VALUES
(11, 'BUS', '433', 1);
INSERT INTO location VALUES
(12, 'LIB', '217', 2);
INSERT INTO location VALUES
(13, 'LIB', '222', 1);
--- inserting records into FACULTY
INSERT INTO faculty VALUES
(1, 'Marx', 'Teresa', 'J', 9, '4075921695', 'Associate', 4, 6338,
EMPTY_BLOB());
INSERT INTO faculty VALUES
(2, 'Zhulin', 'Mark', 'M', 10, '4073875682', 'Full', NULL, 1121,
EMPTY_BLOB());
INSERT INTO faculty VALUES
(3, 'Langley', 'Colin', 'A', 12, '4075928719', 'Assistant', 4, 9871,
EMPTY_BLOB());
INSERT INTO faculty VALUES
(4, 'Brown', 'Jonnel', 'D', 11, '4078101155', 'Full', NULL, 8297,
EMPTY_BLOB());
INSERT INTO faculty VALUES
(5, 'Sealy', 'James', 'L', 13, '4079817153', 'Associate', 1, 6089,
EMPTY_BLOB());
--- inserting records into STUDENT
INSERT INTO student VALUES
('JO100', 'Jones', 'Tammy', 'R', '1817 Eagleridge Circle',
'Tallahassee',
'FL', '32811', '7155559876', 'SR', TO_DATE('07/14/1985',
'MM/DD/YYYY'), 8891, 1, TO_YMINTERVAL('3-2'));
INSERT INTO student VALUES
('PE100', 'Perez', 'Jorge', 'C', '951 Rainbow Dr', 'Clermont',
'FL', '34711', '7155552345', 'SR', TO_DATE('08/19/1985',
'MM/DD/YYYY'), 1230, 1, TO_YMINTERVAL('4-2'));
INSERT INTO student VALUES
('MA100', 'Marsh', 'John', 'A', '1275 West Main St', 'Carrabelle',
'FL', '32320', '7155553907', 'JR', TO_DATE('10/10/1982',
'MM/DD/YYYY'), 1613, 1, TO_YMINTERVAL('3-0'));
INSERT INTO student VALUES
('SM100', 'Smith', 'Mike', NULL, '428 Markson Ave',
'Eastpoint',
'FL', '32328', '7155556902', 'SO', TO_DATE('09/24/1986',
'MM/DD/YYYY'), 1841, 2, TO_YMINTERVAL('2-2'));
INSERT INTO student VALUES
('JO101', 'Johnson', 'Lisa', 'M', '764 Johnson Place', 'Leesburg',
'FL', '34751', '7155558899', 'SO', TO_DATE('11/20/1986',
'MM/DD/YYYY'), 4420, 4, TO_YMINTERVAL('1-11'));
INSERT INTO student VALUES
('NG100', 'Nguyen', 'Ni', 'M', '688 4th Street', 'Orlando',
'FL', '31458', '7155554944', 'FR', TO_DATE('12/4/1986',
'MM/DD/YYYY'), 9188, 3, TO_YMINTERVAL('0-4'));
--- inserting records into TERM
INSERT INTO term (term_id, term_desc, status) VALUES
(1, 'Fall 2005', 'CLOSED');
INSERT INTO term (term_id, term_desc, status) VALUES
(2, 'Spring 2006', 'CLOSED');
INSERT INTO term (term_id, term_desc, status) VALUES
(3, 'Summer 2006', 'CLOSED');
INSERT INTO term (term_id, term_desc, status) VALUES
(4, 'Fall 2006', 'CLOSED');
INSERT INTO term (term_id, term_desc, status) VALUES
(5, 'Spring 2007', 'CLOSED');
INSERT INTO term (term_id, term_desc, status) VALUES
(6, 'Summer 2007', 'OPEN');
--- inserting records into COURSE
INSERT INTO course VALUES
('MIS 101', 'Intro. to Info. Systems', 3);
INSERT INTO course VALUES
('MIS 301', 'Systems Analysis', 3);
INSERT INTO course VALUES
('MIS 441', 'Database Management', 3);
INSERT INTO course VALUES
('CS 155', 'Programming in C++', 3);
INSERT INTO course VALUES
('MIS 451', 'Web-Based Systems', 3);
--- inserting records into COURSE_SECTION
INSERT INTO course_section VALUES
(1, 'MIS 101', 4, 1, 2, 'MWF', TO_DATE('10:00 AM', 'HH:MI
AM'), TO_DSINTERVAL('0 00:00:50.00'), 1, 140);
INSERT INTO course_section VALUES
(2, 'MIS 101', 4, 2, 3, 'TR', TO_DATE('09:30 AM', 'HH:MI
AM'), TO_DSINTERVAL('0 00:01:15.00'), 7, 35);
INSERT INTO course_section VALUES
(3, 'MIS 101', 4, 3, 3, 'MWF', TO_DATE('08:00 AM', 'HH:MI
AM'), TO_DSINTERVAL('0 00:00:50.00'), 2, 35);
INSERT INTO course_section VALUES
(4, 'MIS 301', 4, 1, 4, 'TR', TO_DATE('11:00 AM', 'HH:MI
AM'), TO_DSINTERVAL('0 00:01:15.00'), 6, 35);
INSERT INTO course_section VALUES
(5, 'MIS 301', 5, 2, 4, 'TR', TO_DATE('02:00 PM', 'HH:MI
PM'), TO_DSINTERVAL('0 00:01:15.00'), 6, 35);
INSERT INTO course_section VALUES
(6, 'MIS 441', 5, 1, 1, 'MWF', TO_DATE('09:00 AM', 'HH:MI
AM'), TO_DSINTERVAL('0 00:00:50.00'), 5, 30);
INSERT INTO course_section VALUES
(7, 'MIS 441', 5, 2, 1, 'MWF', TO_DATE('10:00 AM', 'HH:MI
AM'), TO_DSINTERVAL('0 00:00:50.00'), 5, 30);
INSERT INTO course_section VALUES
(8, 'CS 155', 5, 1, 5, 'TR', TO_DATE('08:00 AM', 'HH:MI AM'),
TO_DSINTERVAL('0 00:01:15.00'), 3, 35);
INSERT INTO course_section VALUES
(9, 'MIS 451', 5, 1, 2, 'MWF', TO_DATE('02:00 PM', 'HH:MI
PM'), TO_DSINTERVAL('0 00:00:50.00'), 5, 35);
INSERT INTO course_section VALUES
(10, 'MIS 451', 5, 2, 2, 'MWF', TO_DATE('03:00 PM', 'HH:MI
PM'), TO_DSINTERVAL('0 00:00:50.00'), 5, 35);
INSERT INTO course_section VALUES
(11, 'MIS 101', 6, 1, 1, 'MTWRF', TO_DATE('08:00 AM',
'HH:MI AM'), TO_DSINTERVAL('0 00:01:30.00'), 1, 50);
INSERT INTO course_section VALUES
(12, 'MIS 301', 6, 1, 2, 'MTWRF', TO_DATE('08:00 AM',
'HH:MI AM'), TO_DSINTERVAL('0 00:01:30.00'), 6, 35);
INSERT INTO course_section VALUES
(13, 'MIS 441', 6, 1, 3, 'MTWRF', TO_DATE('09:00 AM',
'HH:MI AM'), TO_DSINTERVAL('0 00:01:30.00'), 5, 35);
--- inserting records into ENROLLMENT
INSERT INTO enrollment VALUES
('JO100', 1, 'A');
INSERT INTO enrollment VALUES
('JO100', 4, 'A');
INSERT INTO enrollment VALUES
('JO100', 6, 'B');
INSERT INTO enrollment VALUES
('JO100', 9, 'B');
INSERT INTO enrollment VALUES
('PE100', 1, 'C');
INSERT INTO enrollment VALUES
('PE100', 5, 'B');
INSERT INTO enrollment VALUES
('PE100', 6, 'A');
INSERT INTO enrollment VALUES
('PE100', 9, 'B');
INSERT INTO enrollment VALUES
('MA100', 1, 'C');
INSERT INTO enrollment VALUES
('MA100', 12, NULL);
INSERT INTO enrollment VALUES
('MA100', 13, NULL);
INSERT INTO enrollment VALUES
('SM100', 11, NULL);
INSERT INTO enrollment VALUES
('SM100', 12, NULL);
INSERT INTO enrollment VALUES
('JO101', 1, 'B');
INSERT INTO enrollment VALUES
('JO101', 5, 'C');
INSERT INTO enrollment VALUES
('JO101', 9, 'C');
INSERT INTO enrollment VALUES
('JO101', 11, NULL);
INSERT INTO enrollment VALUES
('JO101', 13, NULL);
INSERT INTO enrollment VALUES
('NG100', 11, NULL);
INSERT INTO enrollment VALUES
('NG100', 12, NULL);
COMMIT;
Introduction
Every child needs support, stimulation and encouragement in a
positive environment. This week you will begin to analyze the
role of the caregiver in applying the principles of development
to supporting the growth and development of children. You will
identify and describe activities to enhance language
development and optimal brain development. You will start to
reflect on your own practice and how you will use theories of
development in your own practice.
Required Resources
Required Text
1. Children’s Journeys: Exploring Early Childhood:
a. Chapter 5: Physical and Cognitive Development in Infancy:
First Excursions
Recommended Resources
Articles
1. Roth, T. L., & David Sweatt, J. J. (2011). Annual Research
Review: Epigenetic Mechanisms and Environmental Shaping of
the Brain During Sensitive Periods of Development. Journal Of
Child Psychology & Psychiatry, 52(4), 398-408. Retrieved
from EBSCOhost database.
· This article extends the discussion from Chapter 5 of the
course text regarding brain development in infants and the
shaping of a child’s brain during sensitive periods of
development.
Multimedia
1. Storybird. (n.d). Storybird Quick Tour [Video file].
Retrieved from http://player.vimeo.com/video/6178690
Websites
1. Jing (http://www.techsmith.com/jing.html)
2. Storybird (http://storybird.com/)
Discussions
To participate in the following discussions, go to this
week's Discussion link in the left navigation.
1. Early Language Development
After reading about early language development in Chapter 5 of
your text describe a learning center that would promote early
language development. Your description must include the
learning objective of the center, the materials provided, and
step-by-step instructions for implementation of the activity.
Make sure to include the specific areas of language that the
center targets, the approach you will be using to introduce this
center, and methods for assessing student’s development.
Guided Response: Analyze several of your classmates’ learning
center activities. Respond to at least two of your classmates.
Identify the strengths of their learning centers and/or extend
their idea by suggesting ideas, materials, and assessments that
could add to their learning center.
Carefully review the Discussion Forum Grading Rubric for the
criteria that will be used to evaluate this Discussion Thread.
2. Optimal Brain Development
The human brain is highly dependent on experiences for
development. Discuss your role as a teacher or caregiver in a
child’s life in terms of promoting optimal brain development
through exposure to various experiences. Give three examples
of appropriate stimulation (activities) you can employ in the
classroom or daycare center to promote learning. How can you
include activities outside the classroom that will reinforce the
learning? How can you involve the parents and community
resources (i.e., fieldtrips)? Lastly, include information on a
field trip you could take your class on in your local area that
would extend the learning that you included in one of your
sample activities. Relate experiences from your own schooling
such as field trips, community events, and activities that
connected your learning to both the community and your home.
Guided Response: Analyze several of your classmates’ posts.
Respond to at least two of your classmates, and suggest some
ways that they can get parents involved in this learning process
by extending their activities to the child’s home environment.
Discuss resources in the community that they may have
overlooked.
Carefully review the Discussion Forum Grading Rubric for the
criteria that will be used to evaluate this Discussion Thread.
Journal
To complete the following journal entry, go to this
week's Journal link in the left navigation.
1. Piaget and You
Consider what age group you hope to work with and reflect on
which aspects of Piaget’s theory will be the most useful to you
in your future career. How will this information be useful in
your everyday work with children? Will it change your
expectations for children? For yourself?
Journal Options:
a. Written reflection journal.
b. Jing reflection with visuals, and paste the link into your
discussion post.
c. Peer dialogue reflection (where you discuss the questions
above with a peer or colleague and write a reflection that
compares their peak experience with your own.)
d. Create a short video to relate your answer.
Carefully review the Grading Rubric for the criteria that will be
used to evaluate your journal entries.
--script to create Clearwater Traders database
--revised 8/17/02 JM
DROP TABLE order_line CASCADE CONSTRAINTS;
DROP TABLE shipment_line CASCADE CONSTRAINTS;
DROP TABLE shipment CASCADE CONSTRAINTS;
DROP TABLE inventory CASCADE CONSTRAINTS;
DROP TABLE color CASCADE CONSTRAINTS;
DROP TABLE item CASCADE CONSTRAINTS;
DROP TABLE category CASCADE CONSTRAINTS;
DROP TABLE orders CASCADE CONSTRAINTS;
DROP TABLE order_source CASCADE CONSTRAINTS;
DROP TABLE customer CASCADE CONSTRAINTS;
CREATE TABLE customer
(c_id NUMBER(5),
c_last VARCHAR2(30),
c_first VARCHAR2(30),
c_mi CHAR(1),
c_birthdate DATE,
c_address VARCHAR2(30),
c_city VARCHAR2(30),
c_state CHAR(2),
c_zip VARCHAR2(10),
c_dphone VARCHAR2(10),
c_ephone VARCHAR2(10),
c_userid VARCHAR2(50),
c_password VARCHAR2(15),
CONSTRAINT customer_c_id_pk PRIMARY KEY (c_id));
CREATE TABLE order_source
(os_id NUMBER(3),
os_desc VARCHAR2(30),
CONSTRAINT order_source_os_id_pk PRIMARY KEY(os_id));
CREATE TABLE orders
(o_id NUMBER(8),
o_date DATE,
o_methpmt VARCHAR2(10),
c_id NUMBER(5),
os_id NUMBER(3),
CONSTRAINT orders_o_id_pk PRIMARY KEY (o_id),
CONSTRAINT orders_c_id_fk FOREIGN KEY (c_id)
REFERENCES customer(c_id),
CONSTRAINT orders_os_id_fk FOREIGN KEY (os_id)
REFERENCES order_source(os_id));
CREATE TABLE category
(cat_id NUMBER(2),
cat_desc VARCHAR2(20),
CONSTRAINT category_cat_id_pk PRIMARY KEY (cat_id));
CREATE TABLE item
(item_id NUMBER(8),
item_desc VARCHAR2(30),
cat_id NUMBER(2),
item_image BLOB,
CONSTRAINT item_item_id_pk PRIMARY KEY (item_id),
CONSTRAINT item_cat_id_fk FOREIGN KEY (cat_id)
REFERENCES category(cat_id));
CREATE TABLE color
(color VARCHAR2(20),
CONSTRAINT color_color_pk PRIMARY KEY (color));
CREATE TABLE inventory
(inv_id NUMBER(10),
item_id NUMBER(8),
color VARCHAR2(20),
inv_size VARCHAR2(10),
inv_price NUMBER(6,2),
inv_qoh NUMBER(4),
CONSTRAINT inventory_inv_id_pk PRIMARY KEY (inv_id),
CONSTRAINT inventory_item_id_fk FOREIGN KEY (item_id)
REFERENCES item(item_id),
CONSTRAINT inventory_color_fk FOREIGN KEY (color)
REFERENCES color(color));
CREATE TABLE shipment
(ship_id NUMBER(10),
ship_date_expected DATE,
CONSTRAINT shipment_ship_id_pk PRIMARY KEY
(ship_id));
CREATE TABLE shipment_line
(ship_id NUMBER(10),
inv_id NUMBER(10),
sl_quantity NUMBER(4),
sl_date_received DATE,
CONSTRAINT shipment_line_ship_id_fk FOREIGN KEY
(ship_id) REFERENCES shipment(ship_id),
CONSTRAINT shipment_line_inv_id_fk FOREIGN KEY
(inv_id) REFERENCES inventory(inv_id),
CONSTRAINT shipment_line_shipid_invid_pk PRIMARY
KEY(ship_id, inv_id));
CREATE TABLE order_line
(o_id NUMBER(8),
inv_id NUMBER(10),
ol_quantity NUMBER(4) NOT NULL,
CONSTRAINT order_line_o_id_fk FOREIGN KEY (o_id)
REFERENCES orders(o_id),
CONSTRAINT order_line_inv_id_fk FOREIGN KEY (inv_id)
REFERENCES inventory(inv_id),
CONSTRAINT order_line_oid_invid_pk PRIMARY KEY (o_id,
inv_id));
--- inserting records into CUSTOMER
INSERT INTO CUSTOMER VALUES
(1, 'Graham', 'Neal', 'R', to_date('12/10/1967', 'mm/dd/yyyy'),
'9815 Circle Dr.', 'Tallahassee', 'FL', '32308', '9045551897',
'904558599', 'grahamn', 'barbiecar');
INSERT INTO CUSTOMER VALUES
(2, 'Sanchez', 'Myra', 'T', to_date('08/14/1958', 'mm/dd/yyyy'),
'172 Alto Park', 'Seattle', 'WA','42180', '4185551791',
'4185556643', 'sanchezmt', 'qwert5');
INSERT INTO CUSTOMER VALUES
(3, 'Smith', 'Lisa', 'M', to_date('04/12/1960', 'mm/dd/yyyy'), '850
East Main', 'Santa Ana', 'CA', '51875', '3075557841',
'3075559852', 'smithlm', 'joshua5');
INSERT INTO CUSTOMER VALUES
(4, 'Phelp', 'Paul', NULL, to_date('01/18/1981', 'mm/dd/yyyy'),
'994 Kirkman Rd.', 'Northpoint', 'NY', '11795', '4825554788',
'4825558219', 'phelpp', 'hold98er');
INSERT INTO CUSTOMER VALUES
(5, 'Lewis', 'Sheila', 'A', to_date('08/30/1978', 'mm/dd/yyyy'),
'195 College Blvd.', 'Newton', 'GA', '37812', '3525554972',
'3525551811', 'lewissa', '125pass');
INSERT INTO CUSTOMER VALUES
(6, 'James', 'Thomas', 'E', to_date('06/01/1973', 'mm/dd/yyyy'),
'348 Rice Lane', 'Radcliff', 'WY', '87195', '7615553485',
'7615553319', 'jamest', 'nok$tell');
--- inserting records into ORDER_SOURCE
INSERT INTO order_source VALUES (1, 'Winter 2005');
INSERT INTO order_source VALUES (2, 'Spring 2006');
INSERT INTO order_source VALUES (3, 'Summer 2006');
INSERT INTO order_source VALUES (4, 'Outdoor 2006');
INSERT INTO order_source VALUES (5, 'Children''s 2006');
INSERT INTO order_source VALUES (6, 'Web Site');
--- inserting records into orders
INSERT INTO orders VALUES
(1, TO_DATE('05/29/2006', 'MM/DD/YYYY'), 'CC', 1, 2);
INSERT INTO orders VALUES
(2, TO_DATE('05/29/2006', 'MM/DD/YYYY'), 'CC', 5, 6);
INSERT INTO orders VALUES
(3, TO_DATE('05/31/2006', 'MM/DD/YYYY'), 'CHECK', 2, 2);
INSERT INTO orders VALUES
(4, TO_DATE('05/31/2006', 'MM/DD/YYYY'), 'CC', 3, 3);
INSERT INTO orders VALUES
(5, TO_DATE('06/01/2006', 'MM/DD/YYYY'), 'CC', 4, 6);
INSERT INTO orders VALUES
(6, TO_DATE('06/01/2006', 'MM/DD/YYYY'), 'CC', 4, 3);
--- inserting records into CATEGORY
INSERT INTO category VALUES (1, 'Women''s Clothing');
INSERT INTO category VALUES (2, 'Children''s Clothing');
INSERT INTO category VALUES (3, 'Men''s Clothing');
INSERT INTO category VALUES (4, 'Outdoor Gear');
--- inserting records into ITEM
INSERT INTO item VALUES
(1, 'Men''s Expedition Parka', 3, EMPTY_BLOB());
INSERT INTO item VALUES
(2, '3-Season Tent', 4, EMPTY_BLOB());
INSERT INTO item VALUES
(3, 'Women''s Hiking Shorts', 1, EMPTY_BLOB());
INSERT INTO item VALUES
(4, 'Women''s Fleece Pullover', 1, EMPTY_BLOB());
INSERT INTO item VALUES
(5, 'Children''s Beachcomber Sandals', 2, EMPTY_BLOB());
INSERT INTO item VALUES
(6, 'Boy''s Surf Shorts', 2, EMPTY_BLOB());
INSERT INTO item VALUES
(7, 'Girl''s Soccer Tee', 2, EMPTY_BLOB());
--- inserting records into COLOR
INSERT INTO color VALUES ('Sky Blue');
INSERT INTO color VALUES ('Light Grey');
INSERT INTO color VALUES ('Khaki');
INSERT INTO color VALUES ('Navy');
INSERT INTO color VALUES ('Royal');
INSERT INTO color VALUES ('Eggplant');
INSERT INTO color VALUES ('Blue');
INSERT INTO color VALUES ('Red');
INSERT INTO color VALUES ('Spruce');
INSERT INTO color VALUES ('Turquoise');
INSERT INTO color VALUES ('Bright Pink');
INSERT INTO color VALUES ('White');
--- inserting records into INVENTORY
INSERT INTO inventory VALUES
(1, 2, 'Sky Blue', NULL, 259.99, 16);
INSERT INTO inventory VALUES
(2, 2, 'Light Grey', NULL, 259.99, 12);
INSERT INTO inventory VALUES
(3, 3, 'Khaki', 'S', 29.95, 150);
INSERT INTO inventory VALUES
(4, 3, 'Khaki', 'M', 29.95, 147);
INSERT INTO inventory VALUES
(5, 3, 'Khaki', 'L', 29.95, 0);
INSERT INTO inventory VALUES
(6, 3, 'Navy', 'S', 29.95, 139);
INSERT INTO inventory VALUES
(7, 3, 'Navy', 'M', 29.95, 137);
INSERT INTO inventory VALUES
(8, 3, 'Navy', 'L', 29.95, 115);
INSERT INTO inventory VALUES
(9, 4, 'Eggplant', 'S', 59.95, 135);
INSERT INTO inventory VALUES
(10, 4, 'Eggplant', 'M', 59.95, 168);
INSERT INTO inventory VALUES
(11, 4, 'Eggplant', 'L', 59.95, 187);
INSERT INTO inventory VALUES
(12, 4, 'Royal', 'S', 59.95, 0);
INSERT INTO inventory VALUES
(13, 4, 'Royal', 'M', 59.95, 124);
INSERT INTO inventory VALUES
(14, 4, 'Royal', 'L', 59.95, 112);
INSERT INTO inventory VALUES
(15, 5, 'Turquoise', '10', 15.99, 121);
INSERT INTO inventory VALUES
(16, 5, 'Turquoise', '11', 15.99, 111);
INSERT INTO inventory VALUES
(17, 5, 'Turquoise', '12', 15.99, 113);
INSERT INTO inventory VALUES
(18, 5, 'Turquoise', '1', 15.99, 121);
INSERT INTO inventory VALUES
(19, 5, 'Bright Pink', '10', 15.99, 148);
INSERT INTO inventory VALUES
(20, 5, 'Bright Pink', '11', 15.99, 137);
INSERT INTO inventory VALUES
(21, 5, 'Bright Pink', '12', 15.99, 134);
INSERT INTO inventory VALUES
(22, 5, 'Bright Pink', '1', 15.99, 123);
INSERT INTO inventory VALUES
(23, 1, 'Spruce', 'S', 199.95, 114);
INSERT INTO inventory VALUES
(24, 1, 'Spruce', 'M',199.95, 17);
INSERT INTO inventory VALUES
(25, 1, 'Spruce', 'L', 209.95, 0);
INSERT INTO inventory VALUES
(26, 1, 'Spruce', 'XL', 209.95, 12);
INSERT INTO inventory VALUES
(27, 6, 'Blue', 'S', 15.95, 50);
INSERT INTO inventory VALUES
(28, 6, 'Blue', 'M', 15.95, 100);
INSERT INTO inventory VALUES
(29, 6, 'Blue', 'L', 15.95, 100);
INSERT INTO inventory VALUES
(30, 7, 'White', 'S', 19.99, 100);
INSERT INTO inventory VALUES
(31, 7, 'White', 'M', 19.99, 100);
INSERT INTO inventory VALUES
(32, 7, 'White', 'L', 19.99, 100);
--inserting records into SHIPMENT
INSERT INTO shipment VALUES
(1, TO_DATE('09/15/2006', 'MM/DD/YYYY'));
INSERT INTO shipment VALUES
(2, TO_DATE('11/15/2006', 'MM/DD/YYYY'));
INSERT INTO shipment VALUES
(3, TO_DATE('06/25/2006', 'MM/DD/YYYY'));
INSERT INTO shipment VALUES
(4, TO_DATE('06/25/2006', 'MM/DD/YYYY'));
INSERT INTO shipment VALUES
(5, TO_DATE('08/15/2006', 'MM/DD/YYYY'));
--inserting records into SHIPMENT_LINE
INSERT INTO shipment_line VALUES
(1, 1, 25, TO_DATE('09/10/2006', 'MM/DD/YYYY'));
INSERT INTO shipment_line VALUES
(1, 2, 25, TO_DATE('09/10/2006', 'MM/DD/YYYY'));
INSERT INTO shipment_line VALUES
(2, 2, 25, NULL);
INSERT INTO shipment_line VALUES
(3, 5, 200, NULL);
INSERT INTO shipment_line VALUES
(3, 6, 200, NULL);
INSERT INTO shipment_line VALUES
(3, 7, 200, NULL);
INSERT INTO shipment_line VALUES
(4, 12, 100, TO_DATE('08/15/2006', 'MM/DD/YYYY'));
INSERT INTO shipment_line VALUES
(4, 13, 100, TO_DATE('08/25/2006', 'MM/DD/YYYY'));
INSERT INTO shipment_line VALUES
(5, 23, 50, TO_DATE('08/15/2006', 'MM/DD/YYYY'));
INSERT INTO shipment_line VALUES
(5, 24, 100, TO_DATE('08/15/2006', 'MM/DD/YYYY'));
INSERT INTO shipment_line VALUES
(5, 25, 100, TO_DATE('08/15/2006', 'MM/DD/YYYY'));
--- inserting records into ORDER_LINE
INSERT INTO order_line VALUES (1, 1, 1);
INSERT INTO order_line VALUES (1, 14, 2);
INSERT INTO order_line VALUES (2, 19, 1);
INSERT INTO order_line VALUES (3, 24, 1);
INSERT INTO order_line VALUES (3, 26, 1);
INSERT INTO order_line VALUES (4, 12, 2);
INSERT INTO order_line VALUES (5, 8, 1);
INSERT INTO order_line VALUES (5, 13, 1);
INSERT INTO order_line VALUES (6, 2, 1);
INSERT INTO order_line VALUES (6, 7, 3);
COMMIT;
-- script to empty NORTHWOODS database tables
-- revised 8/17/2002 JM
-- modified 3/17/2004 LM
DROP TABLE enrollment CASCADE CONSTRAINTS;
DROP TABLE course_section CASCADE CONSTRAINTS;
DROP TABLE term CASCADE CONSTRAINTS;
DROP TABLE course CASCADE CONSTRAINTS;
DROP TABLE student CASCADE CONSTRAINTS;
DROP TABLE faculty CASCADE CONSTRAINTS;
DROP TABLE location CASCADE CONSTRAINTS;
CREATE TABLE LOCATION
(loc_id NUMBER(6),
bldg_code VARCHAR2(10),
room VARCHAR2(6),
capacity NUMBER(5),
CONSTRAINT location_loc_id_pk PRIMARY KEY (loc_id));
CREATE TABLE faculty
(f_id NUMBER(6),
f_last VARCHAR2(30),
f_first VARCHAR2(30),
f_mi CHAR(1),
loc_id NUMBER(5),
f_phone VARCHAR2(10),
f_rank VARCHAR2(9),
f_super NUMBER(6),
f_pin NUMBER(4),
f_image BLOB,
CONSTRAINT faculty_f_id_pk PRIMARY KEY(f_id),
CONSTRAINT faculty_loc_id_fk FOREIGN KEY (loc_id)
REFERENCES location(loc_id));
CREATE TABLE student
(s_id VARCHAR2(6),
s_last VARCHAR2(30),
s_first VARCHAR2(30),
s_mi CHAR(1),
s_address VARCHAR2(25),
s_city VARCHAR2(20),
s_state CHAR(2),
s_zip VARCHAR2(10),
s_phone VARCHAR2(10),
s_class CHAR(2),
s_dob DATE,
s_pin NUMBER(4),
f_id NUMBER(6),
time_enrolled INTERVAL YEAR TO MONTH,
CONSTRAINT student_s_id_pk PRIMARY KEY (s_id),
CONSTRAINT student_f_id_fk FOREIGN KEY (f_id)
REFERENCES faculty(f_id));
CREATE TABLE TERM
(term_id NUMBER(6),
term_desc VARCHAR2(20),
status VARCHAR2(20),
start_date DATE,
CONSTRAINT term_term_id_pk PRIMARY KEY (term_id),
CONSTRAINT term_status_cc CHECK ((status = 'OPEN') OR
(status = 'CLOSED')));
CREATE TABLE COURSE
(course_no VARCHAR2(7),
course_name VARCHAR2(25),
credits NUMBER(2),
CONSTRAINT course_course_id_pk PRIMARY
KEY(course_no));
CREATE TABLE COURSE_SECTION
(c_sec_id NUMBER(6),
course_no VARCHAR2(7) CONSTRAINT
course_section_courseid_nn NOT NULL,
term_id NUMBER(6) CONSTRAINT course_section_termid_nn
NOT NULL,
sec_num NUMBER(2) CONSTRAINT
course_section_secnum_nn NOT NULL,
f_id NUMBER(6),
c_sec_day VARCHAR2(10),
c_sec_time DATE,
c_sec_duration INTERVAL DAY TO SECOND,
loc_id NUMBER(6),
max_enrl NUMBER(4) CONSTRAINT
course_section_maxenrl_nn NOT NULL,
CONSTRAINT course_section_csec_id_pk PRIMARY KEY
(c_sec_id),
CONSTRAINT course_section_cid_fk FOREIGN KEY
(course_no) REFERENCES course(course_no),
CONSTRAINT course_section_loc_id_fk FOREIGN KEY
(loc_id) REFERENCES location(loc_id),
CONSTRAINT course_section_termid_fk FOREIGN KEY
(term_id) REFERENCES term(term_id),
CONSTRAINT course_section_fid_fk FOREIGN KEY (f_id)
REFERENCES faculty(f_id));
CREATE TABLE ENROLLMENT
(s_id VARCHAR2(6),
c_sec_id NUMBER(6),
grade CHAR(1),
CONSTRAINT enrollment_pk PRIMARY KEY (s_id, c_sec_id),
CONSTRAINT enrollment_sid_fk FOREIGN KEY (s_id)
REFERENCES student(s_id),
CONSTRAINT enrollment_csecid_fk FOREIGN KEY
(c_sec_id) REFERENCES course_section (c_sec_id));
--script to create Clearwater Traders database
--revised 8/17/02 JM
DROP TABLE order_line CASCADE CONSTRAINTS;
DROP TABLE shipment_line CASCADE CONSTRAINTS;
DROP TABLE shipment CASCADE CONSTRAINTS;
DROP TABLE inventory CASCADE CONSTRAINTS;
DROP TABLE color CASCADE CONSTRAINTS;
DROP TABLE item CASCADE CONSTRAINTS;
DROP TABLE category CASCADE CONSTRAINTS;
DROP TABLE orders CASCADE CONSTRAINTS;
DROP TABLE order_source CASCADE CONSTRAINTS;
DROP TABLE customer CASCADE CONSTRAINTS;
CREATE TABLE customer
(c_id NUMBER(5),
c_last VARCHAR2(30),
c_first VARCHAR2(30),
c_mi CHAR(1),
c_birthdate DATE,
c_address VARCHAR2(30),
c_city VARCHAR2(30),
c_state CHAR(2),
c_zip VARCHAR2(10),
c_dphone VARCHAR2(10),
c_ephone VARCHAR2(10),
c_userid VARCHAR2(50),
c_password VARCHAR2(15),
CONSTRAINT customer_c_id_pk PRIMARY KEY (c_id));
CREATE TABLE order_source
(os_id NUMBER(3),
os_desc VARCHAR2(30),
CONSTRAINT order_source_os_id_pk PRIMARY KEY(os_id));
CREATE TABLE orders
(o_id NUMBER(8),
o_date DATE,
o_methpmt VARCHAR2(10),
c_id NUMBER(5),
os_id NUMBER(3),
CONSTRAINT orders_o_id_pk PRIMARY KEY (o_id),
CONSTRAINT orders_c_id_fk FOREIGN KEY (c_id)
REFERENCES customer(c_id),
CONSTRAINT orders_os_id_fk FOREIGN KEY (os_id)
REFERENCES order_source(os_id));
CREATE TABLE category
(cat_id NUMBER(2),
cat_desc VARCHAR2(20),
CONSTRAINT category_cat_id_pk PRIMARY KEY (cat_id));
CREATE TABLE item
(item_id NUMBER(8),
item_desc VARCHAR2(30),
cat_id NUMBER(2),
item_image BLOB,
CONSTRAINT item_item_id_pk PRIMARY KEY (item_id),
CONSTRAINT item_cat_id_fk FOREIGN KEY (cat_id)
REFERENCES category(cat_id));
CREATE TABLE color
(color VARCHAR2(20),
CONSTRAINT color_color_pk PRIMARY KEY (color));
CREATE TABLE inventory
(inv_id NUMBER(10),
item_id NUMBER(8),
color VARCHAR2(20),
inv_size VARCHAR2(10),
inv_price NUMBER(6,2),
inv_qoh NUMBER(4),
CONSTRAINT inventory_inv_id_pk PRIMARY KEY (inv_id),
CONSTRAINT inventory_item_id_fk FOREIGN KEY (item_id)
REFERENCES item(item_id),
CONSTRAINT inventory_color_fk FOREIGN KEY (color)
REFERENCES color(color));
CREATE TABLE shipment
(ship_id NUMBER(10),
ship_date_expected DATE,
CONSTRAINT shipment_ship_id_pk PRIMARY KEY
(ship_id));
CREATE TABLE shipment_line
(ship_id NUMBER(10),
inv_id NUMBER(10),
sl_quantity NUMBER(4),
sl_date_received DATE,
CONSTRAINT shipment_line_ship_id_fk FOREIGN KEY
(ship_id) REFERENCES shipment(ship_id),
CONSTRAINT shipment_line_inv_id_fk FOREIGN KEY
(inv_id) REFERENCES inventory(inv_id),
CONSTRAINT shipment_line_shipid_invid_pk PRIMARY
KEY(ship_id, inv_id));
CREATE TABLE order_line
(o_id NUMBER(8),
inv_id NUMBER(10),
ol_quantity NUMBER(4) NOT NULL,
CONSTRAINT order_line_o_id_fk FOREIGN KEY (o_id)
REFERENCES orders(o_id),
CONSTRAINT order_line_inv_id_fk FOREIGN KEY (inv_id)
REFERENCES inventory(inv_id),
CONSTRAINT order_line_oid_invid_pk PRIMARY KEY (o_id,
inv_id));
INDIVIDUAL PROJECT ASSIGNMENT 3C (ORACLE CH.3C)
DUE DATE: December 8, 2016 at class time (20 Points)
Refer to Problem-Solving Cases (pages188) in Oracle Chapter
3C. Datafile needed for this project assignment is
Ch3Clearwater.sql that is attached to the assignment link for
Project Assignment 3C.
1. Solve all the even problems 2, 6, 8, and 10 on pages 188.
2. You will create one input file and one output file (using
notepad) as instructed in the class. SQL for all the problems
should be contained in one input file. Name the input file as
Chapter3C_1_10_####_IN and output file as
Chapter3C_1_10_####_OUT where #### is the last four digits
of your student ID.
3. Include comment lines for each problem while writing SQL
and include them before the SQL code for each problem.
Comment should refer to each of the query asked in the
question. Make sure to identify each question answered. In the
beginning of the input file you must include your name, course
number and semester, project number, and your student ID.
4. Print hard copies of the input and output files and submit
both the soft and hard copies.
POINTS WILL BE DEDUCTED IF THE DIRECTIONS ARE
NOT FOLLOWED.
Mayur S. Desai (MIS 675 _ Fall 2016) Database
Management Systems Page 1
INDIVIDUAL PROJECT ASSIGNMENT 3B (ORACLE CH.3B)
DUE DATE: DECEMBER 8, 2016, 5:30PM (20 points)
Refer to Problem-Solving Cases (pages156-157) in Oracle
Chapter 3B. Datafile needed for this project assignment is
Ch3Clearwater.sql that is attached to the assignment link for
Project Assignment 3B
1. Solve all the odd problems 1, 5, 10, 15, 20 on pages 156-157.
2. You will create one input file and one output file (using
notepad) as instructed in the class. SQL for all the problems
should be contained in one input file. Name the input file as
Chapter3B_1_20_####_IN and output file as
Chapter3B_1_20_####_OUT where #### is the last four digits
of your student ID
3. Include comment lines for each problem while writing SQL
and include them before the SQL code for each problem.
Comment should refer to each of the query asked in the
question. In the beginning of the input file you must include
your name, course number and semester, project number, and
your student ID.
4. Print hard copies of the input and output file and submit both
the soft and hard copies.
POINTS WILL BE DEDUCTED IF THE DIRECTIONS ARE
NOT FOLLOWED.
NOTE:
· These are individual assignments and any trace of student
copying another student’s work will be given an automatic F for
the course. Maintain the ethical integrity.
Mayur S. Desai (MIS 675 _ Fall 2016) Database
Management Systems Page 1
INDIVIDUAL PROJECT ASSIGNMENT 3 (ORACLE CH.3A)
(15 Points)
Refer to Problem-Solving Cases (pages119) in Oracle Chapter
3A. Datafile needed for this project assignment is
Ch3EmptyClearwater.sql that is attached to the assignment link
for Project Assignment 3A
1. On page 25 Clearwater Traders database change the last and
the first name of the customer (i.e. the first record C_LAST
Graham, C_FIRST Neal) with C_ID to your last and first name.
Save the table as CUSTOMER_last four digits of your student
ID. Then proceed with the following:
2. Solve the problems 4 on page 119. In order to complete this
assignment you must go over the tutorial on Northwoods
database starting on Page 87.
3. You will create one input file and one output file (using
notepad) as instructed in the class. SQL for all the problem 4
should be contained in one input file. Name the input file as
Chapter3A_1_3_####_IN and output file as
Chapter3A_1_3_####_OUT where #### is the last four digits of
your student ID
4. Include comment lines for each problem while writing SQL
and include them before the SQL code for each problem.
Comment should refer to what the problem is about. For
example, when writing and SQL for problem 4 you may include
a comment “the following SQL provides the code (describe
what the code will accomplish) in Clearwater Traders database”.
5. In the beginning of the input file you must include your
name, course number and semester, project number, and your
student ID.
6. Print hard copies of the input and output file and submit both
the soft and hard copies.
Mayur S. Desai (MIS 675 _ Fall 2016) Database
Management Systems Page 1

More Related Content

Similar to -- script to create NORTHWOODS database-- revised 8172002 JM .docx

[Pgday.Seoul 2021] 2. Porting Oracle UDF and Optimization
[Pgday.Seoul 2021] 2. Porting Oracle UDF and Optimization[Pgday.Seoul 2021] 2. Porting Oracle UDF and Optimization
[Pgday.Seoul 2021] 2. Porting Oracle UDF and OptimizationPgDay.Seoul
 
# Dump File## Database is ported from MS Access#---------.docx
# Dump File## Database is ported from MS Access#---------.docx# Dump File## Database is ported from MS Access#---------.docx
# Dump File## Database is ported from MS Access#---------.docxkatherncarlyle
 
Escape From Hadoop: Spark One Liners for C* Ops
Escape From Hadoop: Spark One Liners for C* OpsEscape From Hadoop: Spark One Liners for C* Ops
Escape From Hadoop: Spark One Liners for C* OpsRussell Spitzer
 
When debugging the code, use Drop table statementsto drop pr.docx
 When debugging the code, use Drop table statementsto drop pr.docx When debugging the code, use Drop table statementsto drop pr.docx
When debugging the code, use Drop table statementsto drop pr.docxaryan532920
 
foreach (DataRow dataRow in dataTable.Rows) .docx
            foreach (DataRow dataRow in dataTable.Rows)        .docx            foreach (DataRow dataRow in dataTable.Rows)        .docx
foreach (DataRow dataRow in dataTable.Rows) .docxjoyjonna282
 
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...djkucera
 
On SQL Managment studioThis lab is all about database normalizatio.pdf
On SQL Managment studioThis lab is all about database normalizatio.pdfOn SQL Managment studioThis lab is all about database normalizatio.pdf
On SQL Managment studioThis lab is all about database normalizatio.pdfinfomalad
 
Obtain better data accuracy using reference tables
Obtain better data accuracy using reference tablesObtain better data accuracy using reference tables
Obtain better data accuracy using reference tablesKiran Venna
 
I have the attached copy of the assignment description. And here is .docx
I have the attached copy of the assignment description. And here is .docxI have the attached copy of the assignment description. And here is .docx
I have the attached copy of the assignment description. And here is .docxsamirapdcosden
 
Dbms assignment 3(a) (1)
Dbms assignment 3(a) (1)Dbms assignment 3(a) (1)
Dbms assignment 3(a) (1)SwapnadipSahoo1
 
Starting from the database used in Project 1 (see the slightly cha.docx
Starting from the database used in Project 1 (see the slightly cha.docxStarting from the database used in Project 1 (see the slightly cha.docx
Starting from the database used in Project 1 (see the slightly cha.docxdessiechisomjj4
 
Sql queries - Basics
Sql queries - BasicsSql queries - Basics
Sql queries - BasicsPurvik Rana
 
M.TECH 1ST SEM COMPUTER SCIENCE ADBMS LAB PROGRAMS
M.TECH 1ST SEM COMPUTER SCIENCE ADBMS LAB PROGRAMSM.TECH 1ST SEM COMPUTER SCIENCE ADBMS LAB PROGRAMS
M.TECH 1ST SEM COMPUTER SCIENCE ADBMS LAB PROGRAMSSupriya Radhakrishna
 
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO.docx
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO.docxDROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO.docx
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO.docxgreg1eden90113
 
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRODROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DROAlyciaGold776
 
Complex Queries using MYSQL00123211.pptx
Complex Queries using MYSQL00123211.pptxComplex Queries using MYSQL00123211.pptx
Complex Queries using MYSQL00123211.pptxmetriohanzel
 
Data Warehouse and Business Intelligence - Recipe 1
Data Warehouse and Business Intelligence - Recipe 1Data Warehouse and Business Intelligence - Recipe 1
Data Warehouse and Business Intelligence - Recipe 1Massimo Cenci
 

Similar to -- script to create NORTHWOODS database-- revised 8172002 JM .docx (20)

[Pgday.Seoul 2021] 2. Porting Oracle UDF and Optimization
[Pgday.Seoul 2021] 2. Porting Oracle UDF and Optimization[Pgday.Seoul 2021] 2. Porting Oracle UDF and Optimization
[Pgday.Seoul 2021] 2. Porting Oracle UDF and Optimization
 
# Dump File## Database is ported from MS Access#---------.docx
# Dump File## Database is ported from MS Access#---------.docx# Dump File## Database is ported from MS Access#---------.docx
# Dump File## Database is ported from MS Access#---------.docx
 
Escape From Hadoop: Spark One Liners for C* Ops
Escape From Hadoop: Spark One Liners for C* OpsEscape From Hadoop: Spark One Liners for C* Ops
Escape From Hadoop: Spark One Liners for C* Ops
 
Plsql lab mannual
Plsql lab mannualPlsql lab mannual
Plsql lab mannual
 
When debugging the code, use Drop table statementsto drop pr.docx
 When debugging the code, use Drop table statementsto drop pr.docx When debugging the code, use Drop table statementsto drop pr.docx
When debugging the code, use Drop table statementsto drop pr.docx
 
foreach (DataRow dataRow in dataTable.Rows) .docx
            foreach (DataRow dataRow in dataTable.Rows)        .docx            foreach (DataRow dataRow in dataTable.Rows)        .docx
foreach (DataRow dataRow in dataTable.Rows) .docx
 
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
 
On SQL Managment studioThis lab is all about database normalizatio.pdf
On SQL Managment studioThis lab is all about database normalizatio.pdfOn SQL Managment studioThis lab is all about database normalizatio.pdf
On SQL Managment studioThis lab is all about database normalizatio.pdf
 
Obtain better data accuracy using reference tables
Obtain better data accuracy using reference tablesObtain better data accuracy using reference tables
Obtain better data accuracy using reference tables
 
MySQL JDBC Tutorial
MySQL JDBC TutorialMySQL JDBC Tutorial
MySQL JDBC Tutorial
 
I have the attached copy of the assignment description. And here is .docx
I have the attached copy of the assignment description. And here is .docxI have the attached copy of the assignment description. And here is .docx
I have the attached copy of the assignment description. And here is .docx
 
Dbms assignment 3(a) (1)
Dbms assignment 3(a) (1)Dbms assignment 3(a) (1)
Dbms assignment 3(a) (1)
 
Starting from the database used in Project 1 (see the slightly cha.docx
Starting from the database used in Project 1 (see the slightly cha.docxStarting from the database used in Project 1 (see the slightly cha.docx
Starting from the database used in Project 1 (see the slightly cha.docx
 
Sql queries - Basics
Sql queries - BasicsSql queries - Basics
Sql queries - Basics
 
M.TECH 1ST SEM COMPUTER SCIENCE ADBMS LAB PROGRAMS
M.TECH 1ST SEM COMPUTER SCIENCE ADBMS LAB PROGRAMSM.TECH 1ST SEM COMPUTER SCIENCE ADBMS LAB PROGRAMS
M.TECH 1ST SEM COMPUTER SCIENCE ADBMS LAB PROGRAMS
 
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO.docx
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO.docxDROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO.docx
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO.docx
 
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRODROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO
DROP TABLE IF EXISTS STUDENT;DROP TABLE IF EXISTS CAMPUS;DRO
 
Complex Queries using MYSQL00123211.pptx
Complex Queries using MYSQL00123211.pptxComplex Queries using MYSQL00123211.pptx
Complex Queries using MYSQL00123211.pptx
 
Data Warehouse and Business Intelligence - Recipe 1
Data Warehouse and Business Intelligence - Recipe 1Data Warehouse and Business Intelligence - Recipe 1
Data Warehouse and Business Intelligence - Recipe 1
 
Activity sep11 solution
Activity sep11 solutionActivity sep11 solution
Activity sep11 solution
 

More from honey725342

NRS-493 Individual Success PlanREQUIRED PRACTICE HOURS 100 Direct.docx
NRS-493 Individual Success PlanREQUIRED PRACTICE HOURS 100 Direct.docxNRS-493 Individual Success PlanREQUIRED PRACTICE HOURS 100 Direct.docx
NRS-493 Individual Success PlanREQUIRED PRACTICE HOURS 100 Direct.docxhoney725342
 
Now the Earth has had wide variations in atmospheric CO2-level throu.docx
Now the Earth has had wide variations in atmospheric CO2-level throu.docxNow the Earth has had wide variations in atmospheric CO2-level throu.docx
Now the Earth has had wide variations in atmospheric CO2-level throu.docxhoney725342
 
NR224 Fundamentals SkillsTopic Safety Goals BOOK P.docx
NR224 Fundamentals SkillsTopic Safety Goals BOOK P.docxNR224 Fundamentals SkillsTopic Safety Goals BOOK P.docx
NR224 Fundamentals SkillsTopic Safety Goals BOOK P.docxhoney725342
 
Nurse Education Today 87 (2020) 104348Contents lists avail.docx
Nurse Education Today 87 (2020) 104348Contents lists avail.docxNurse Education Today 87 (2020) 104348Contents lists avail.docx
Nurse Education Today 87 (2020) 104348Contents lists avail.docxhoney725342
 
Now that you’ve seen all of the elements contributing to the Devil’s.docx
Now that you’ve seen all of the elements contributing to the Devil’s.docxNow that you’ve seen all of the elements contributing to the Devil’s.docx
Now that you’ve seen all of the elements contributing to the Devil’s.docxhoney725342
 
NR360 We Can But Dare We.docx Revised 5 ‐ 9 .docx
NR360   We   Can   But   Dare   We.docx   Revised   5 ‐ 9 .docxNR360   We   Can   But   Dare   We.docx   Revised   5 ‐ 9 .docx
NR360 We Can But Dare We.docx Revised 5 ‐ 9 .docxhoney725342
 
Nurse Practitioner Diagnosis- Chest Pain.SOAPS-Subjective.docx
Nurse Practitioner Diagnosis- Chest Pain.SOAPS-Subjective.docxNurse Practitioner Diagnosis- Chest Pain.SOAPS-Subjective.docx
Nurse Practitioner Diagnosis- Chest Pain.SOAPS-Subjective.docxhoney725342
 
NURS 6002 Foundations of Graduate StudyAcademic and P.docx
NURS 6002 Foundations of Graduate StudyAcademic and P.docxNURS 6002 Foundations of Graduate StudyAcademic and P.docx
NURS 6002 Foundations of Graduate StudyAcademic and P.docxhoney725342
 
Nurse workforce shortage are predicted to get worse as baby boomers .docx
Nurse workforce shortage are predicted to get worse as baby boomers .docxNurse workforce shortage are predicted to get worse as baby boomers .docx
Nurse workforce shortage are predicted to get worse as baby boomers .docxhoney725342
 
Now, for the exam itself. Below are 4 questions. You need to answer .docx
Now, for the exam itself. Below are 4 questions. You need to answer .docxNow, for the exam itself. Below are 4 questions. You need to answer .docx
Now, for the exam itself. Below are 4 questions. You need to answer .docxhoney725342
 
Nur-501-AP4- Philosophical and Theoretical Evidence-Based research.docx
Nur-501-AP4- Philosophical and Theoretical Evidence-Based research.docxNur-501-AP4- Philosophical and Theoretical Evidence-Based research.docx
Nur-501-AP4- Philosophical and Theoretical Evidence-Based research.docxhoney725342
 
NU32CH19-Foltz ARI 9 July 2012 1945Population-Level Inter.docx
NU32CH19-Foltz ARI 9 July 2012 1945Population-Level Inter.docxNU32CH19-Foltz ARI 9 July 2012 1945Population-Level Inter.docx
NU32CH19-Foltz ARI 9 July 2012 1945Population-Level Inter.docxhoney725342
 
Nurse Working in the CommunityDescribe the community nurses.docx
Nurse Working in the CommunityDescribe the community nurses.docxNurse Working in the CommunityDescribe the community nurses.docx
Nurse Working in the CommunityDescribe the community nurses.docxhoney725342
 
nursing diagnosis1. Decreased Cardiac Output  related to Alter.docx
nursing diagnosis1. Decreased Cardiac Output  related to Alter.docxnursing diagnosis1. Decreased Cardiac Output  related to Alter.docx
nursing diagnosis1. Decreased Cardiac Output  related to Alter.docxhoney725342
 
Nursing Documentation Is it valuable Discuss the value of nursin.docx
Nursing Documentation Is it valuable Discuss the value of nursin.docxNursing Documentation Is it valuable Discuss the value of nursin.docx
Nursing Documentation Is it valuable Discuss the value of nursin.docxhoney725342
 
NR631 Concluding Graduate Experience - Scope Project Managemen.docx
NR631 Concluding Graduate Experience - Scope  Project Managemen.docxNR631 Concluding Graduate Experience - Scope  Project Managemen.docx
NR631 Concluding Graduate Experience - Scope Project Managemen.docxhoney725342
 
Number 11. Describe at least five populations who are vulner.docx
Number 11. Describe at least five populations who are vulner.docxNumber 11. Describe at least five populations who are vulner.docx
Number 11. Describe at least five populations who are vulner.docxhoney725342
 
ntertainment, the media, and sometimes public leaders can perpetuate.docx
ntertainment, the media, and sometimes public leaders can perpetuate.docxntertainment, the media, and sometimes public leaders can perpetuate.docx
ntertainment, the media, and sometimes public leaders can perpetuate.docxhoney725342
 
Now that you have  completed Lesson 23 & 24 and have thought a.docx
Now that you have  completed Lesson 23 & 24 and have thought a.docxNow that you have  completed Lesson 23 & 24 and have thought a.docx
Now that you have  completed Lesson 23 & 24 and have thought a.docxhoney725342
 
nothing wrong with the paper, my professor just wants it to be in an.docx
nothing wrong with the paper, my professor just wants it to be in an.docxnothing wrong with the paper, my professor just wants it to be in an.docx
nothing wrong with the paper, my professor just wants it to be in an.docxhoney725342
 

More from honey725342 (20)

NRS-493 Individual Success PlanREQUIRED PRACTICE HOURS 100 Direct.docx
NRS-493 Individual Success PlanREQUIRED PRACTICE HOURS 100 Direct.docxNRS-493 Individual Success PlanREQUIRED PRACTICE HOURS 100 Direct.docx
NRS-493 Individual Success PlanREQUIRED PRACTICE HOURS 100 Direct.docx
 
Now the Earth has had wide variations in atmospheric CO2-level throu.docx
Now the Earth has had wide variations in atmospheric CO2-level throu.docxNow the Earth has had wide variations in atmospheric CO2-level throu.docx
Now the Earth has had wide variations in atmospheric CO2-level throu.docx
 
NR224 Fundamentals SkillsTopic Safety Goals BOOK P.docx
NR224 Fundamentals SkillsTopic Safety Goals BOOK P.docxNR224 Fundamentals SkillsTopic Safety Goals BOOK P.docx
NR224 Fundamentals SkillsTopic Safety Goals BOOK P.docx
 
Nurse Education Today 87 (2020) 104348Contents lists avail.docx
Nurse Education Today 87 (2020) 104348Contents lists avail.docxNurse Education Today 87 (2020) 104348Contents lists avail.docx
Nurse Education Today 87 (2020) 104348Contents lists avail.docx
 
Now that you’ve seen all of the elements contributing to the Devil’s.docx
Now that you’ve seen all of the elements contributing to the Devil’s.docxNow that you’ve seen all of the elements contributing to the Devil’s.docx
Now that you’ve seen all of the elements contributing to the Devil’s.docx
 
NR360 We Can But Dare We.docx Revised 5 ‐ 9 .docx
NR360   We   Can   But   Dare   We.docx   Revised   5 ‐ 9 .docxNR360   We   Can   But   Dare   We.docx   Revised   5 ‐ 9 .docx
NR360 We Can But Dare We.docx Revised 5 ‐ 9 .docx
 
Nurse Practitioner Diagnosis- Chest Pain.SOAPS-Subjective.docx
Nurse Practitioner Diagnosis- Chest Pain.SOAPS-Subjective.docxNurse Practitioner Diagnosis- Chest Pain.SOAPS-Subjective.docx
Nurse Practitioner Diagnosis- Chest Pain.SOAPS-Subjective.docx
 
NURS 6002 Foundations of Graduate StudyAcademic and P.docx
NURS 6002 Foundations of Graduate StudyAcademic and P.docxNURS 6002 Foundations of Graduate StudyAcademic and P.docx
NURS 6002 Foundations of Graduate StudyAcademic and P.docx
 
Nurse workforce shortage are predicted to get worse as baby boomers .docx
Nurse workforce shortage are predicted to get worse as baby boomers .docxNurse workforce shortage are predicted to get worse as baby boomers .docx
Nurse workforce shortage are predicted to get worse as baby boomers .docx
 
Now, for the exam itself. Below are 4 questions. You need to answer .docx
Now, for the exam itself. Below are 4 questions. You need to answer .docxNow, for the exam itself. Below are 4 questions. You need to answer .docx
Now, for the exam itself. Below are 4 questions. You need to answer .docx
 
Nur-501-AP4- Philosophical and Theoretical Evidence-Based research.docx
Nur-501-AP4- Philosophical and Theoretical Evidence-Based research.docxNur-501-AP4- Philosophical and Theoretical Evidence-Based research.docx
Nur-501-AP4- Philosophical and Theoretical Evidence-Based research.docx
 
NU32CH19-Foltz ARI 9 July 2012 1945Population-Level Inter.docx
NU32CH19-Foltz ARI 9 July 2012 1945Population-Level Inter.docxNU32CH19-Foltz ARI 9 July 2012 1945Population-Level Inter.docx
NU32CH19-Foltz ARI 9 July 2012 1945Population-Level Inter.docx
 
Nurse Working in the CommunityDescribe the community nurses.docx
Nurse Working in the CommunityDescribe the community nurses.docxNurse Working in the CommunityDescribe the community nurses.docx
Nurse Working in the CommunityDescribe the community nurses.docx
 
nursing diagnosis1. Decreased Cardiac Output  related to Alter.docx
nursing diagnosis1. Decreased Cardiac Output  related to Alter.docxnursing diagnosis1. Decreased Cardiac Output  related to Alter.docx
nursing diagnosis1. Decreased Cardiac Output  related to Alter.docx
 
Nursing Documentation Is it valuable Discuss the value of nursin.docx
Nursing Documentation Is it valuable Discuss the value of nursin.docxNursing Documentation Is it valuable Discuss the value of nursin.docx
Nursing Documentation Is it valuable Discuss the value of nursin.docx
 
NR631 Concluding Graduate Experience - Scope Project Managemen.docx
NR631 Concluding Graduate Experience - Scope  Project Managemen.docxNR631 Concluding Graduate Experience - Scope  Project Managemen.docx
NR631 Concluding Graduate Experience - Scope Project Managemen.docx
 
Number 11. Describe at least five populations who are vulner.docx
Number 11. Describe at least five populations who are vulner.docxNumber 11. Describe at least five populations who are vulner.docx
Number 11. Describe at least five populations who are vulner.docx
 
ntertainment, the media, and sometimes public leaders can perpetuate.docx
ntertainment, the media, and sometimes public leaders can perpetuate.docxntertainment, the media, and sometimes public leaders can perpetuate.docx
ntertainment, the media, and sometimes public leaders can perpetuate.docx
 
Now that you have  completed Lesson 23 & 24 and have thought a.docx
Now that you have  completed Lesson 23 & 24 and have thought a.docxNow that you have  completed Lesson 23 & 24 and have thought a.docx
Now that you have  completed Lesson 23 & 24 and have thought a.docx
 
nothing wrong with the paper, my professor just wants it to be in an.docx
nothing wrong with the paper, my professor just wants it to be in an.docxnothing wrong with the paper, my professor just wants it to be in an.docx
nothing wrong with the paper, my professor just wants it to be in an.docx
 

Recently uploaded

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 

Recently uploaded (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

-- script to create NORTHWOODS database-- revised 8172002 JM .docx

  • 1. -- script to create NORTHWOODS database -- revised 8/17/2002 JM -- modified 3/17/2004 LM DROP TABLE enrollment CASCADE CONSTRAINTS; DROP TABLE course_section CASCADE CONSTRAINTS; DROP TABLE term CASCADE CONSTRAINTS; DROP TABLE course CASCADE CONSTRAINTS; DROP TABLE student CASCADE CONSTRAINTS; DROP TABLE faculty CASCADE CONSTRAINTS; DROP TABLE location CASCADE CONSTRAINTS; CREATE TABLE LOCATION (loc_id NUMBER(6), bldg_code VARCHAR2(10), room VARCHAR2(6), capacity NUMBER(5),
  • 2. CONSTRAINT location_loc_id_pk PRIMARY KEY (loc_id)); CREATE TABLE faculty (f_id NUMBER(6), f_last VARCHAR2(30), f_first VARCHAR2(30), f_mi CHAR(1), loc_id NUMBER(5), f_phone VARCHAR2(10), f_rank VARCHAR2(9), f_super NUMBER(6), f_pin NUMBER(4), f_image BLOB, CONSTRAINT faculty_f_id_pk PRIMARY KEY(f_id), CONSTRAINT faculty_loc_id_fk FOREIGN KEY (loc_id) REFERENCES location(loc_id)); CREATE TABLE student (s_id VARCHAR2(6),
  • 3. s_last VARCHAR2(30), s_first VARCHAR2(30), s_mi CHAR(1), s_address VARCHAR2(25), s_city VARCHAR2(20), s_state CHAR(2), s_zip VARCHAR2(10), s_phone VARCHAR2(10), s_class CHAR(2), s_dob DATE, s_pin NUMBER(4), f_id NUMBER(6), time_enrolled INTERVAL YEAR TO MONTH, CONSTRAINT student_s_id_pk PRIMARY KEY (s_id), CONSTRAINT student_f_id_fk FOREIGN KEY (f_id) REFERENCES faculty(f_id)); CREATE TABLE TERM
  • 4. (term_id NUMBER(6), term_desc VARCHAR2(20), status VARCHAR2(20), start_date DATE, CONSTRAINT term_term_id_pk PRIMARY KEY (term_id), CONSTRAINT term_status_cc CHECK ((status = 'OPEN') OR (status = 'CLOSED'))); CREATE TABLE COURSE (course_no VARCHAR2(7), course_name VARCHAR2(25), credits NUMBER(2), CONSTRAINT course_course_id_pk PRIMARY KEY(course_no)); CREATE TABLE COURSE_SECTION (c_sec_id NUMBER(6), course_no VARCHAR2(7) CONSTRAINT course_section_courseid_nn NOT NULL, term_id NUMBER(6) CONSTRAINT course_section_termid_nn
  • 5. NOT NULL, sec_num NUMBER(2) CONSTRAINT course_section_secnum_nn NOT NULL, f_id NUMBER(6), c_sec_day VARCHAR2(10), c_sec_time DATE, c_sec_duration INTERVAL DAY TO SECOND, loc_id NUMBER(6), max_enrl NUMBER(4) CONSTRAINT course_section_maxenrl_nn NOT NULL, CONSTRAINT course_section_csec_id_pk PRIMARY KEY (c_sec_id), CONSTRAINT course_section_cid_fk FOREIGN KEY (course_no) REFERENCES course(course_no), CONSTRAINT course_section_loc_id_fk FOREIGN KEY (loc_id) REFERENCES location(loc_id), CONSTRAINT course_section_termid_fk FOREIGN KEY (term_id) REFERENCES term(term_id), CONSTRAINT course_section_fid_fk FOREIGN KEY (f_id) REFERENCES faculty(f_id)); CREATE TABLE ENROLLMENT
  • 6. (s_id VARCHAR2(6), c_sec_id NUMBER(6), grade CHAR(1), CONSTRAINT enrollment_pk PRIMARY KEY (s_id, c_sec_id), CONSTRAINT enrollment_sid_fk FOREIGN KEY (s_id) REFERENCES student(s_id), CONSTRAINT enrollment_csecid_fk FOREIGN KEY (c_sec_id) REFERENCES course_section (c_sec_id)); ---- inserting into LOCATION table INSERT INTO location VALUES (1, 'CR', '101', 150); INSERT INTO location VALUES (2, 'CR', '202', 40); INSERT INTO location VALUES
  • 7. (3, 'CR', '103', 35); INSERT INTO location VALUES (4, 'CR', '105', 35); INSERT INTO location VALUES (5, 'BUS', '105', 42); INSERT INTO location VALUES (6, 'BUS', '404', 35); INSERT INTO location VALUES (7, 'BUS', '421', 35); INSERT INTO location VALUES (8, 'BUS', '211', 55); INSERT INTO location VALUES
  • 8. (9, 'BUS', '424', 1); INSERT INTO location VALUES (10, 'BUS', '402', 1); INSERT INTO location VALUES (11, 'BUS', '433', 1); INSERT INTO location VALUES (12, 'LIB', '217', 2); INSERT INTO location VALUES (13, 'LIB', '222', 1); --- inserting records into FACULTY INSERT INTO faculty VALUES (1, 'Marx', 'Teresa', 'J', 9, '4075921695', 'Associate', 4, 6338,
  • 9. EMPTY_BLOB()); INSERT INTO faculty VALUES (2, 'Zhulin', 'Mark', 'M', 10, '4073875682', 'Full', NULL, 1121, EMPTY_BLOB()); INSERT INTO faculty VALUES (3, 'Langley', 'Colin', 'A', 12, '4075928719', 'Assistant', 4, 9871, EMPTY_BLOB()); INSERT INTO faculty VALUES (4, 'Brown', 'Jonnel', 'D', 11, '4078101155', 'Full', NULL, 8297, EMPTY_BLOB()); INSERT INTO faculty VALUES (5, 'Sealy', 'James', 'L', 13, '4079817153', 'Associate', 1, 6089, EMPTY_BLOB()); --- inserting records into STUDENT INSERT INTO student VALUES
  • 10. ('JO100', 'Jones', 'Tammy', 'R', '1817 Eagleridge Circle', 'Tallahassee', 'FL', '32811', '7155559876', 'SR', TO_DATE('07/14/1985', 'MM/DD/YYYY'), 8891, 1, TO_YMINTERVAL('3-2')); INSERT INTO student VALUES ('PE100', 'Perez', 'Jorge', 'C', '951 Rainbow Dr', 'Clermont', 'FL', '34711', '7155552345', 'SR', TO_DATE('08/19/1985', 'MM/DD/YYYY'), 1230, 1, TO_YMINTERVAL('4-2')); INSERT INTO student VALUES ('MA100', 'Marsh', 'John', 'A', '1275 West Main St', 'Carrabelle', 'FL', '32320', '7155553907', 'JR', TO_DATE('10/10/1982', 'MM/DD/YYYY'), 1613, 1, TO_YMINTERVAL('3-0')); INSERT INTO student VALUES ('SM100', 'Smith', 'Mike', NULL, '428 Markson Ave', 'Eastpoint', 'FL', '32328', '7155556902', 'SO', TO_DATE('09/24/1986', 'MM/DD/YYYY'), 1841, 2, TO_YMINTERVAL('2-2'));
  • 11. INSERT INTO student VALUES ('JO101', 'Johnson', 'Lisa', 'M', '764 Johnson Place', 'Leesburg', 'FL', '34751', '7155558899', 'SO', TO_DATE('11/20/1986', 'MM/DD/YYYY'), 4420, 4, TO_YMINTERVAL('1-11')); INSERT INTO student VALUES ('NG100', 'Nguyen', 'Ni', 'M', '688 4th Street', 'Orlando', 'FL', '31458', '7155554944', 'FR', TO_DATE('12/4/1986', 'MM/DD/YYYY'), 9188, 3, TO_YMINTERVAL('0-4')); --- inserting records into TERM INSERT INTO term (term_id, term_desc, status) VALUES (1, 'Fall 2005', 'CLOSED'); INSERT INTO term (term_id, term_desc, status) VALUES (2, 'Spring 2006', 'CLOSED'); INSERT INTO term (term_id, term_desc, status) VALUES (3, 'Summer 2006', 'CLOSED');
  • 12. INSERT INTO term (term_id, term_desc, status) VALUES (4, 'Fall 2006', 'CLOSED'); INSERT INTO term (term_id, term_desc, status) VALUES (5, 'Spring 2007', 'CLOSED'); INSERT INTO term (term_id, term_desc, status) VALUES (6, 'Summer 2007', 'OPEN'); --- inserting records into COURSE INSERT INTO course VALUES ('MIS 101', 'Intro. to Info. Systems', 3); INSERT INTO course VALUES ('MIS 301', 'Systems Analysis', 3); INSERT INTO course VALUES
  • 13. ('MIS 441', 'Database Management', 3); INSERT INTO course VALUES ('CS 155', 'Programming in C++', 3); INSERT INTO course VALUES ('MIS 451', 'Web-Based Systems', 3); --- inserting records into COURSE_SECTION INSERT INTO course_section VALUES (1, 'MIS 101', 4, 1, 2, 'MWF', TO_DATE('10:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:00:50.00'), 1, 140); INSERT INTO course_section VALUES (2, 'MIS 101', 4, 2, 3, 'TR', TO_DATE('09:30 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:01:15.00'), 7, 35); INSERT INTO course_section VALUES (3, 'MIS 101', 4, 3, 3, 'MWF', TO_DATE('08:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:00:50.00'), 2, 35);
  • 14. INSERT INTO course_section VALUES (4, 'MIS 301', 4, 1, 4, 'TR', TO_DATE('11:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:01:15.00'), 6, 35); INSERT INTO course_section VALUES (5, 'MIS 301', 5, 2, 4, 'TR', TO_DATE('02:00 PM', 'HH:MI PM'), TO_DSINTERVAL('0 00:01:15.00'), 6, 35); INSERT INTO course_section VALUES (6, 'MIS 441', 5, 1, 1, 'MWF', TO_DATE('09:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:00:50.00'), 5, 30); INSERT INTO course_section VALUES (7, 'MIS 441', 5, 2, 1, 'MWF', TO_DATE('10:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:00:50.00'), 5, 30); INSERT INTO course_section VALUES (8, 'CS 155', 5, 1, 5, 'TR', TO_DATE('08:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:01:15.00'), 3, 35);
  • 15. INSERT INTO course_section VALUES (9, 'MIS 451', 5, 1, 2, 'MWF', TO_DATE('02:00 PM', 'HH:MI PM'), TO_DSINTERVAL('0 00:00:50.00'), 5, 35); INSERT INTO course_section VALUES (10, 'MIS 451', 5, 2, 2, 'MWF', TO_DATE('03:00 PM', 'HH:MI PM'), TO_DSINTERVAL('0 00:00:50.00'), 5, 35); INSERT INTO course_section VALUES (11, 'MIS 101', 6, 1, 1, 'MTWRF', TO_DATE('08:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:01:30.00'), 1, 50); INSERT INTO course_section VALUES (12, 'MIS 301', 6, 1, 2, 'MTWRF', TO_DATE('08:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:01:30.00'), 6, 35); INSERT INTO course_section VALUES (13, 'MIS 441', 6, 1, 3, 'MTWRF', TO_DATE('09:00 AM', 'HH:MI AM'), TO_DSINTERVAL('0 00:01:30.00'), 5, 35);
  • 16. --- inserting records into ENROLLMENT INSERT INTO enrollment VALUES ('JO100', 1, 'A'); INSERT INTO enrollment VALUES ('JO100', 4, 'A'); INSERT INTO enrollment VALUES ('JO100', 6, 'B'); INSERT INTO enrollment VALUES ('JO100', 9, 'B'); INSERT INTO enrollment VALUES ('PE100', 1, 'C'); INSERT INTO enrollment VALUES ('PE100', 5, 'B');
  • 17. INSERT INTO enrollment VALUES ('PE100', 6, 'A'); INSERT INTO enrollment VALUES ('PE100', 9, 'B'); INSERT INTO enrollment VALUES ('MA100', 1, 'C'); INSERT INTO enrollment VALUES ('MA100', 12, NULL); INSERT INTO enrollment VALUES ('MA100', 13, NULL); INSERT INTO enrollment VALUES ('SM100', 11, NULL);
  • 18. INSERT INTO enrollment VALUES ('SM100', 12, NULL); INSERT INTO enrollment VALUES ('JO101', 1, 'B'); INSERT INTO enrollment VALUES ('JO101', 5, 'C'); INSERT INTO enrollment VALUES ('JO101', 9, 'C'); INSERT INTO enrollment VALUES ('JO101', 11, NULL); INSERT INTO enrollment VALUES ('JO101', 13, NULL);
  • 19. INSERT INTO enrollment VALUES ('NG100', 11, NULL); INSERT INTO enrollment VALUES ('NG100', 12, NULL); COMMIT; Introduction Every child needs support, stimulation and encouragement in a positive environment. This week you will begin to analyze the role of the caregiver in applying the principles of development to supporting the growth and development of children. You will identify and describe activities to enhance language development and optimal brain development. You will start to reflect on your own practice and how you will use theories of development in your own practice. Required Resources Required Text 1. Children’s Journeys: Exploring Early Childhood:
  • 20. a. Chapter 5: Physical and Cognitive Development in Infancy: First Excursions Recommended Resources Articles 1. Roth, T. L., & David Sweatt, J. J. (2011). Annual Research Review: Epigenetic Mechanisms and Environmental Shaping of the Brain During Sensitive Periods of Development. Journal Of Child Psychology & Psychiatry, 52(4), 398-408. Retrieved from EBSCOhost database. · This article extends the discussion from Chapter 5 of the course text regarding brain development in infants and the shaping of a child’s brain during sensitive periods of development. Multimedia 1. Storybird. (n.d). Storybird Quick Tour [Video file]. Retrieved from http://player.vimeo.com/video/6178690 Websites 1. Jing (http://www.techsmith.com/jing.html) 2. Storybird (http://storybird.com/) Discussions To participate in the following discussions, go to this week's Discussion link in the left navigation. 1. Early Language Development After reading about early language development in Chapter 5 of your text describe a learning center that would promote early language development. Your description must include the learning objective of the center, the materials provided, and step-by-step instructions for implementation of the activity. Make sure to include the specific areas of language that the
  • 21. center targets, the approach you will be using to introduce this center, and methods for assessing student’s development. Guided Response: Analyze several of your classmates’ learning center activities. Respond to at least two of your classmates. Identify the strengths of their learning centers and/or extend their idea by suggesting ideas, materials, and assessments that could add to their learning center. Carefully review the Discussion Forum Grading Rubric for the criteria that will be used to evaluate this Discussion Thread. 2. Optimal Brain Development The human brain is highly dependent on experiences for development. Discuss your role as a teacher or caregiver in a child’s life in terms of promoting optimal brain development through exposure to various experiences. Give three examples of appropriate stimulation (activities) you can employ in the classroom or daycare center to promote learning. How can you include activities outside the classroom that will reinforce the learning? How can you involve the parents and community resources (i.e., fieldtrips)? Lastly, include information on a field trip you could take your class on in your local area that would extend the learning that you included in one of your sample activities. Relate experiences from your own schooling such as field trips, community events, and activities that connected your learning to both the community and your home. Guided Response: Analyze several of your classmates’ posts. Respond to at least two of your classmates, and suggest some ways that they can get parents involved in this learning process by extending their activities to the child’s home environment. Discuss resources in the community that they may have overlooked.
  • 22. Carefully review the Discussion Forum Grading Rubric for the criteria that will be used to evaluate this Discussion Thread. Journal To complete the following journal entry, go to this week's Journal link in the left navigation. 1. Piaget and You Consider what age group you hope to work with and reflect on which aspects of Piaget’s theory will be the most useful to you in your future career. How will this information be useful in your everyday work with children? Will it change your expectations for children? For yourself? Journal Options: a. Written reflection journal. b. Jing reflection with visuals, and paste the link into your discussion post. c. Peer dialogue reflection (where you discuss the questions above with a peer or colleague and write a reflection that compares their peak experience with your own.) d. Create a short video to relate your answer. Carefully review the Grading Rubric for the criteria that will be used to evaluate your journal entries. --script to create Clearwater Traders database --revised 8/17/02 JM DROP TABLE order_line CASCADE CONSTRAINTS;
  • 23. DROP TABLE shipment_line CASCADE CONSTRAINTS; DROP TABLE shipment CASCADE CONSTRAINTS; DROP TABLE inventory CASCADE CONSTRAINTS; DROP TABLE color CASCADE CONSTRAINTS; DROP TABLE item CASCADE CONSTRAINTS; DROP TABLE category CASCADE CONSTRAINTS; DROP TABLE orders CASCADE CONSTRAINTS; DROP TABLE order_source CASCADE CONSTRAINTS; DROP TABLE customer CASCADE CONSTRAINTS; CREATE TABLE customer (c_id NUMBER(5), c_last VARCHAR2(30), c_first VARCHAR2(30), c_mi CHAR(1), c_birthdate DATE, c_address VARCHAR2(30), c_city VARCHAR2(30),
  • 24. c_state CHAR(2), c_zip VARCHAR2(10), c_dphone VARCHAR2(10), c_ephone VARCHAR2(10), c_userid VARCHAR2(50), c_password VARCHAR2(15), CONSTRAINT customer_c_id_pk PRIMARY KEY (c_id)); CREATE TABLE order_source (os_id NUMBER(3), os_desc VARCHAR2(30), CONSTRAINT order_source_os_id_pk PRIMARY KEY(os_id)); CREATE TABLE orders (o_id NUMBER(8), o_date DATE, o_methpmt VARCHAR2(10), c_id NUMBER(5),
  • 25. os_id NUMBER(3), CONSTRAINT orders_o_id_pk PRIMARY KEY (o_id), CONSTRAINT orders_c_id_fk FOREIGN KEY (c_id) REFERENCES customer(c_id), CONSTRAINT orders_os_id_fk FOREIGN KEY (os_id) REFERENCES order_source(os_id)); CREATE TABLE category (cat_id NUMBER(2), cat_desc VARCHAR2(20), CONSTRAINT category_cat_id_pk PRIMARY KEY (cat_id)); CREATE TABLE item (item_id NUMBER(8), item_desc VARCHAR2(30), cat_id NUMBER(2), item_image BLOB, CONSTRAINT item_item_id_pk PRIMARY KEY (item_id), CONSTRAINT item_cat_id_fk FOREIGN KEY (cat_id)
  • 26. REFERENCES category(cat_id)); CREATE TABLE color (color VARCHAR2(20), CONSTRAINT color_color_pk PRIMARY KEY (color)); CREATE TABLE inventory (inv_id NUMBER(10), item_id NUMBER(8), color VARCHAR2(20), inv_size VARCHAR2(10), inv_price NUMBER(6,2), inv_qoh NUMBER(4), CONSTRAINT inventory_inv_id_pk PRIMARY KEY (inv_id), CONSTRAINT inventory_item_id_fk FOREIGN KEY (item_id) REFERENCES item(item_id), CONSTRAINT inventory_color_fk FOREIGN KEY (color) REFERENCES color(color));
  • 27. CREATE TABLE shipment (ship_id NUMBER(10), ship_date_expected DATE, CONSTRAINT shipment_ship_id_pk PRIMARY KEY (ship_id)); CREATE TABLE shipment_line (ship_id NUMBER(10), inv_id NUMBER(10), sl_quantity NUMBER(4), sl_date_received DATE, CONSTRAINT shipment_line_ship_id_fk FOREIGN KEY (ship_id) REFERENCES shipment(ship_id), CONSTRAINT shipment_line_inv_id_fk FOREIGN KEY (inv_id) REFERENCES inventory(inv_id), CONSTRAINT shipment_line_shipid_invid_pk PRIMARY KEY(ship_id, inv_id)); CREATE TABLE order_line (o_id NUMBER(8),
  • 28. inv_id NUMBER(10), ol_quantity NUMBER(4) NOT NULL, CONSTRAINT order_line_o_id_fk FOREIGN KEY (o_id) REFERENCES orders(o_id), CONSTRAINT order_line_inv_id_fk FOREIGN KEY (inv_id) REFERENCES inventory(inv_id), CONSTRAINT order_line_oid_invid_pk PRIMARY KEY (o_id, inv_id)); --- inserting records into CUSTOMER INSERT INTO CUSTOMER VALUES (1, 'Graham', 'Neal', 'R', to_date('12/10/1967', 'mm/dd/yyyy'), '9815 Circle Dr.', 'Tallahassee', 'FL', '32308', '9045551897', '904558599', 'grahamn', 'barbiecar'); INSERT INTO CUSTOMER VALUES (2, 'Sanchez', 'Myra', 'T', to_date('08/14/1958', 'mm/dd/yyyy'), '172 Alto Park', 'Seattle', 'WA','42180', '4185551791', '4185556643', 'sanchezmt', 'qwert5'); INSERT INTO CUSTOMER VALUES
  • 29. (3, 'Smith', 'Lisa', 'M', to_date('04/12/1960', 'mm/dd/yyyy'), '850 East Main', 'Santa Ana', 'CA', '51875', '3075557841', '3075559852', 'smithlm', 'joshua5'); INSERT INTO CUSTOMER VALUES (4, 'Phelp', 'Paul', NULL, to_date('01/18/1981', 'mm/dd/yyyy'), '994 Kirkman Rd.', 'Northpoint', 'NY', '11795', '4825554788', '4825558219', 'phelpp', 'hold98er'); INSERT INTO CUSTOMER VALUES (5, 'Lewis', 'Sheila', 'A', to_date('08/30/1978', 'mm/dd/yyyy'), '195 College Blvd.', 'Newton', 'GA', '37812', '3525554972', '3525551811', 'lewissa', '125pass'); INSERT INTO CUSTOMER VALUES (6, 'James', 'Thomas', 'E', to_date('06/01/1973', 'mm/dd/yyyy'), '348 Rice Lane', 'Radcliff', 'WY', '87195', '7615553485', '7615553319', 'jamest', 'nok$tell'); --- inserting records into ORDER_SOURCE INSERT INTO order_source VALUES (1, 'Winter 2005'); INSERT INTO order_source VALUES (2, 'Spring 2006');
  • 30. INSERT INTO order_source VALUES (3, 'Summer 2006'); INSERT INTO order_source VALUES (4, 'Outdoor 2006'); INSERT INTO order_source VALUES (5, 'Children''s 2006'); INSERT INTO order_source VALUES (6, 'Web Site'); --- inserting records into orders INSERT INTO orders VALUES (1, TO_DATE('05/29/2006', 'MM/DD/YYYY'), 'CC', 1, 2); INSERT INTO orders VALUES (2, TO_DATE('05/29/2006', 'MM/DD/YYYY'), 'CC', 5, 6); INSERT INTO orders VALUES (3, TO_DATE('05/31/2006', 'MM/DD/YYYY'), 'CHECK', 2, 2); INSERT INTO orders VALUES (4, TO_DATE('05/31/2006', 'MM/DD/YYYY'), 'CC', 3, 3);
  • 31. INSERT INTO orders VALUES (5, TO_DATE('06/01/2006', 'MM/DD/YYYY'), 'CC', 4, 6); INSERT INTO orders VALUES (6, TO_DATE('06/01/2006', 'MM/DD/YYYY'), 'CC', 4, 3); --- inserting records into CATEGORY INSERT INTO category VALUES (1, 'Women''s Clothing'); INSERT INTO category VALUES (2, 'Children''s Clothing'); INSERT INTO category VALUES (3, 'Men''s Clothing'); INSERT INTO category VALUES (4, 'Outdoor Gear'); --- inserting records into ITEM INSERT INTO item VALUES (1, 'Men''s Expedition Parka', 3, EMPTY_BLOB()); INSERT INTO item VALUES (2, '3-Season Tent', 4, EMPTY_BLOB());
  • 32. INSERT INTO item VALUES (3, 'Women''s Hiking Shorts', 1, EMPTY_BLOB()); INSERT INTO item VALUES (4, 'Women''s Fleece Pullover', 1, EMPTY_BLOB()); INSERT INTO item VALUES (5, 'Children''s Beachcomber Sandals', 2, EMPTY_BLOB()); INSERT INTO item VALUES (6, 'Boy''s Surf Shorts', 2, EMPTY_BLOB()); INSERT INTO item VALUES (7, 'Girl''s Soccer Tee', 2, EMPTY_BLOB()); --- inserting records into COLOR INSERT INTO color VALUES ('Sky Blue');
  • 33. INSERT INTO color VALUES ('Light Grey'); INSERT INTO color VALUES ('Khaki'); INSERT INTO color VALUES ('Navy'); INSERT INTO color VALUES ('Royal'); INSERT INTO color VALUES ('Eggplant'); INSERT INTO color VALUES ('Blue'); INSERT INTO color VALUES ('Red'); INSERT INTO color VALUES ('Spruce'); INSERT INTO color VALUES ('Turquoise'); INSERT INTO color VALUES ('Bright Pink'); INSERT INTO color VALUES ('White'); --- inserting records into INVENTORY INSERT INTO inventory VALUES (1, 2, 'Sky Blue', NULL, 259.99, 16); INSERT INTO inventory VALUES (2, 2, 'Light Grey', NULL, 259.99, 12);
  • 34. INSERT INTO inventory VALUES (3, 3, 'Khaki', 'S', 29.95, 150); INSERT INTO inventory VALUES (4, 3, 'Khaki', 'M', 29.95, 147); INSERT INTO inventory VALUES (5, 3, 'Khaki', 'L', 29.95, 0); INSERT INTO inventory VALUES (6, 3, 'Navy', 'S', 29.95, 139); INSERT INTO inventory VALUES (7, 3, 'Navy', 'M', 29.95, 137); INSERT INTO inventory VALUES (8, 3, 'Navy', 'L', 29.95, 115);
  • 35. INSERT INTO inventory VALUES (9, 4, 'Eggplant', 'S', 59.95, 135); INSERT INTO inventory VALUES (10, 4, 'Eggplant', 'M', 59.95, 168); INSERT INTO inventory VALUES (11, 4, 'Eggplant', 'L', 59.95, 187); INSERT INTO inventory VALUES (12, 4, 'Royal', 'S', 59.95, 0); INSERT INTO inventory VALUES (13, 4, 'Royal', 'M', 59.95, 124); INSERT INTO inventory VALUES (14, 4, 'Royal', 'L', 59.95, 112);
  • 36. INSERT INTO inventory VALUES (15, 5, 'Turquoise', '10', 15.99, 121); INSERT INTO inventory VALUES (16, 5, 'Turquoise', '11', 15.99, 111); INSERT INTO inventory VALUES (17, 5, 'Turquoise', '12', 15.99, 113); INSERT INTO inventory VALUES (18, 5, 'Turquoise', '1', 15.99, 121); INSERT INTO inventory VALUES (19, 5, 'Bright Pink', '10', 15.99, 148); INSERT INTO inventory VALUES (20, 5, 'Bright Pink', '11', 15.99, 137);
  • 37. INSERT INTO inventory VALUES (21, 5, 'Bright Pink', '12', 15.99, 134); INSERT INTO inventory VALUES (22, 5, 'Bright Pink', '1', 15.99, 123); INSERT INTO inventory VALUES (23, 1, 'Spruce', 'S', 199.95, 114); INSERT INTO inventory VALUES (24, 1, 'Spruce', 'M',199.95, 17); INSERT INTO inventory VALUES (25, 1, 'Spruce', 'L', 209.95, 0); INSERT INTO inventory VALUES (26, 1, 'Spruce', 'XL', 209.95, 12);
  • 38. INSERT INTO inventory VALUES (27, 6, 'Blue', 'S', 15.95, 50); INSERT INTO inventory VALUES (28, 6, 'Blue', 'M', 15.95, 100); INSERT INTO inventory VALUES (29, 6, 'Blue', 'L', 15.95, 100); INSERT INTO inventory VALUES (30, 7, 'White', 'S', 19.99, 100); INSERT INTO inventory VALUES (31, 7, 'White', 'M', 19.99, 100); INSERT INTO inventory VALUES (32, 7, 'White', 'L', 19.99, 100);
  • 39. --inserting records into SHIPMENT INSERT INTO shipment VALUES (1, TO_DATE('09/15/2006', 'MM/DD/YYYY')); INSERT INTO shipment VALUES (2, TO_DATE('11/15/2006', 'MM/DD/YYYY')); INSERT INTO shipment VALUES (3, TO_DATE('06/25/2006', 'MM/DD/YYYY')); INSERT INTO shipment VALUES (4, TO_DATE('06/25/2006', 'MM/DD/YYYY')); INSERT INTO shipment VALUES (5, TO_DATE('08/15/2006', 'MM/DD/YYYY'));
  • 40. --inserting records into SHIPMENT_LINE INSERT INTO shipment_line VALUES (1, 1, 25, TO_DATE('09/10/2006', 'MM/DD/YYYY')); INSERT INTO shipment_line VALUES (1, 2, 25, TO_DATE('09/10/2006', 'MM/DD/YYYY')); INSERT INTO shipment_line VALUES (2, 2, 25, NULL); INSERT INTO shipment_line VALUES (3, 5, 200, NULL); INSERT INTO shipment_line VALUES (3, 6, 200, NULL); INSERT INTO shipment_line VALUES (3, 7, 200, NULL);
  • 41. INSERT INTO shipment_line VALUES (4, 12, 100, TO_DATE('08/15/2006', 'MM/DD/YYYY')); INSERT INTO shipment_line VALUES (4, 13, 100, TO_DATE('08/25/2006', 'MM/DD/YYYY')); INSERT INTO shipment_line VALUES (5, 23, 50, TO_DATE('08/15/2006', 'MM/DD/YYYY')); INSERT INTO shipment_line VALUES (5, 24, 100, TO_DATE('08/15/2006', 'MM/DD/YYYY')); INSERT INTO shipment_line VALUES (5, 25, 100, TO_DATE('08/15/2006', 'MM/DD/YYYY')); --- inserting records into ORDER_LINE INSERT INTO order_line VALUES (1, 1, 1);
  • 42. INSERT INTO order_line VALUES (1, 14, 2); INSERT INTO order_line VALUES (2, 19, 1); INSERT INTO order_line VALUES (3, 24, 1); INSERT INTO order_line VALUES (3, 26, 1); INSERT INTO order_line VALUES (4, 12, 2); INSERT INTO order_line VALUES (5, 8, 1); INSERT INTO order_line VALUES (5, 13, 1); INSERT INTO order_line VALUES (6, 2, 1); INSERT INTO order_line VALUES (6, 7, 3); COMMIT; -- script to empty NORTHWOODS database tables -- revised 8/17/2002 JM -- modified 3/17/2004 LM DROP TABLE enrollment CASCADE CONSTRAINTS; DROP TABLE course_section CASCADE CONSTRAINTS;
  • 43. DROP TABLE term CASCADE CONSTRAINTS; DROP TABLE course CASCADE CONSTRAINTS; DROP TABLE student CASCADE CONSTRAINTS; DROP TABLE faculty CASCADE CONSTRAINTS; DROP TABLE location CASCADE CONSTRAINTS; CREATE TABLE LOCATION (loc_id NUMBER(6), bldg_code VARCHAR2(10), room VARCHAR2(6), capacity NUMBER(5), CONSTRAINT location_loc_id_pk PRIMARY KEY (loc_id)); CREATE TABLE faculty (f_id NUMBER(6), f_last VARCHAR2(30), f_first VARCHAR2(30), f_mi CHAR(1),
  • 44. loc_id NUMBER(5), f_phone VARCHAR2(10), f_rank VARCHAR2(9), f_super NUMBER(6), f_pin NUMBER(4), f_image BLOB, CONSTRAINT faculty_f_id_pk PRIMARY KEY(f_id), CONSTRAINT faculty_loc_id_fk FOREIGN KEY (loc_id) REFERENCES location(loc_id)); CREATE TABLE student (s_id VARCHAR2(6), s_last VARCHAR2(30), s_first VARCHAR2(30), s_mi CHAR(1), s_address VARCHAR2(25), s_city VARCHAR2(20), s_state CHAR(2),
  • 45. s_zip VARCHAR2(10), s_phone VARCHAR2(10), s_class CHAR(2), s_dob DATE, s_pin NUMBER(4), f_id NUMBER(6), time_enrolled INTERVAL YEAR TO MONTH, CONSTRAINT student_s_id_pk PRIMARY KEY (s_id), CONSTRAINT student_f_id_fk FOREIGN KEY (f_id) REFERENCES faculty(f_id)); CREATE TABLE TERM (term_id NUMBER(6), term_desc VARCHAR2(20), status VARCHAR2(20), start_date DATE, CONSTRAINT term_term_id_pk PRIMARY KEY (term_id), CONSTRAINT term_status_cc CHECK ((status = 'OPEN') OR (status = 'CLOSED')));
  • 46. CREATE TABLE COURSE (course_no VARCHAR2(7), course_name VARCHAR2(25), credits NUMBER(2), CONSTRAINT course_course_id_pk PRIMARY KEY(course_no)); CREATE TABLE COURSE_SECTION (c_sec_id NUMBER(6), course_no VARCHAR2(7) CONSTRAINT course_section_courseid_nn NOT NULL, term_id NUMBER(6) CONSTRAINT course_section_termid_nn NOT NULL, sec_num NUMBER(2) CONSTRAINT course_section_secnum_nn NOT NULL, f_id NUMBER(6), c_sec_day VARCHAR2(10), c_sec_time DATE, c_sec_duration INTERVAL DAY TO SECOND,
  • 47. loc_id NUMBER(6), max_enrl NUMBER(4) CONSTRAINT course_section_maxenrl_nn NOT NULL, CONSTRAINT course_section_csec_id_pk PRIMARY KEY (c_sec_id), CONSTRAINT course_section_cid_fk FOREIGN KEY (course_no) REFERENCES course(course_no), CONSTRAINT course_section_loc_id_fk FOREIGN KEY (loc_id) REFERENCES location(loc_id), CONSTRAINT course_section_termid_fk FOREIGN KEY (term_id) REFERENCES term(term_id), CONSTRAINT course_section_fid_fk FOREIGN KEY (f_id) REFERENCES faculty(f_id)); CREATE TABLE ENROLLMENT (s_id VARCHAR2(6), c_sec_id NUMBER(6), grade CHAR(1), CONSTRAINT enrollment_pk PRIMARY KEY (s_id, c_sec_id), CONSTRAINT enrollment_sid_fk FOREIGN KEY (s_id) REFERENCES student(s_id), CONSTRAINT enrollment_csecid_fk FOREIGN KEY
  • 48. (c_sec_id) REFERENCES course_section (c_sec_id)); --script to create Clearwater Traders database --revised 8/17/02 JM DROP TABLE order_line CASCADE CONSTRAINTS; DROP TABLE shipment_line CASCADE CONSTRAINTS; DROP TABLE shipment CASCADE CONSTRAINTS; DROP TABLE inventory CASCADE CONSTRAINTS; DROP TABLE color CASCADE CONSTRAINTS; DROP TABLE item CASCADE CONSTRAINTS; DROP TABLE category CASCADE CONSTRAINTS; DROP TABLE orders CASCADE CONSTRAINTS; DROP TABLE order_source CASCADE CONSTRAINTS; DROP TABLE customer CASCADE CONSTRAINTS; CREATE TABLE customer
  • 49. (c_id NUMBER(5), c_last VARCHAR2(30), c_first VARCHAR2(30), c_mi CHAR(1), c_birthdate DATE, c_address VARCHAR2(30), c_city VARCHAR2(30), c_state CHAR(2), c_zip VARCHAR2(10), c_dphone VARCHAR2(10), c_ephone VARCHAR2(10), c_userid VARCHAR2(50), c_password VARCHAR2(15), CONSTRAINT customer_c_id_pk PRIMARY KEY (c_id)); CREATE TABLE order_source (os_id NUMBER(3), os_desc VARCHAR2(30),
  • 50. CONSTRAINT order_source_os_id_pk PRIMARY KEY(os_id)); CREATE TABLE orders (o_id NUMBER(8), o_date DATE, o_methpmt VARCHAR2(10), c_id NUMBER(5), os_id NUMBER(3), CONSTRAINT orders_o_id_pk PRIMARY KEY (o_id), CONSTRAINT orders_c_id_fk FOREIGN KEY (c_id) REFERENCES customer(c_id), CONSTRAINT orders_os_id_fk FOREIGN KEY (os_id) REFERENCES order_source(os_id)); CREATE TABLE category (cat_id NUMBER(2), cat_desc VARCHAR2(20), CONSTRAINT category_cat_id_pk PRIMARY KEY (cat_id));
  • 51. CREATE TABLE item (item_id NUMBER(8), item_desc VARCHAR2(30), cat_id NUMBER(2), item_image BLOB, CONSTRAINT item_item_id_pk PRIMARY KEY (item_id), CONSTRAINT item_cat_id_fk FOREIGN KEY (cat_id) REFERENCES category(cat_id)); CREATE TABLE color (color VARCHAR2(20), CONSTRAINT color_color_pk PRIMARY KEY (color)); CREATE TABLE inventory (inv_id NUMBER(10), item_id NUMBER(8), color VARCHAR2(20), inv_size VARCHAR2(10), inv_price NUMBER(6,2),
  • 52. inv_qoh NUMBER(4), CONSTRAINT inventory_inv_id_pk PRIMARY KEY (inv_id), CONSTRAINT inventory_item_id_fk FOREIGN KEY (item_id) REFERENCES item(item_id), CONSTRAINT inventory_color_fk FOREIGN KEY (color) REFERENCES color(color)); CREATE TABLE shipment (ship_id NUMBER(10), ship_date_expected DATE, CONSTRAINT shipment_ship_id_pk PRIMARY KEY (ship_id)); CREATE TABLE shipment_line (ship_id NUMBER(10), inv_id NUMBER(10), sl_quantity NUMBER(4), sl_date_received DATE, CONSTRAINT shipment_line_ship_id_fk FOREIGN KEY (ship_id) REFERENCES shipment(ship_id),
  • 53. CONSTRAINT shipment_line_inv_id_fk FOREIGN KEY (inv_id) REFERENCES inventory(inv_id), CONSTRAINT shipment_line_shipid_invid_pk PRIMARY KEY(ship_id, inv_id)); CREATE TABLE order_line (o_id NUMBER(8), inv_id NUMBER(10), ol_quantity NUMBER(4) NOT NULL, CONSTRAINT order_line_o_id_fk FOREIGN KEY (o_id) REFERENCES orders(o_id), CONSTRAINT order_line_inv_id_fk FOREIGN KEY (inv_id) REFERENCES inventory(inv_id), CONSTRAINT order_line_oid_invid_pk PRIMARY KEY (o_id, inv_id)); INDIVIDUAL PROJECT ASSIGNMENT 3C (ORACLE CH.3C) DUE DATE: December 8, 2016 at class time (20 Points) Refer to Problem-Solving Cases (pages188) in Oracle Chapter 3C. Datafile needed for this project assignment is Ch3Clearwater.sql that is attached to the assignment link for Project Assignment 3C. 1. Solve all the even problems 2, 6, 8, and 10 on pages 188.
  • 54. 2. You will create one input file and one output file (using notepad) as instructed in the class. SQL for all the problems should be contained in one input file. Name the input file as Chapter3C_1_10_####_IN and output file as Chapter3C_1_10_####_OUT where #### is the last four digits of your student ID. 3. Include comment lines for each problem while writing SQL and include them before the SQL code for each problem. Comment should refer to each of the query asked in the question. Make sure to identify each question answered. In the beginning of the input file you must include your name, course number and semester, project number, and your student ID. 4. Print hard copies of the input and output files and submit both the soft and hard copies. POINTS WILL BE DEDUCTED IF THE DIRECTIONS ARE NOT FOLLOWED. Mayur S. Desai (MIS 675 _ Fall 2016) Database Management Systems Page 1 INDIVIDUAL PROJECT ASSIGNMENT 3B (ORACLE CH.3B) DUE DATE: DECEMBER 8, 2016, 5:30PM (20 points) Refer to Problem-Solving Cases (pages156-157) in Oracle Chapter 3B. Datafile needed for this project assignment is Ch3Clearwater.sql that is attached to the assignment link for Project Assignment 3B 1. Solve all the odd problems 1, 5, 10, 15, 20 on pages 156-157. 2. You will create one input file and one output file (using notepad) as instructed in the class. SQL for all the problems should be contained in one input file. Name the input file as Chapter3B_1_20_####_IN and output file as Chapter3B_1_20_####_OUT where #### is the last four digits of your student ID
  • 55. 3. Include comment lines for each problem while writing SQL and include them before the SQL code for each problem. Comment should refer to each of the query asked in the question. In the beginning of the input file you must include your name, course number and semester, project number, and your student ID. 4. Print hard copies of the input and output file and submit both the soft and hard copies. POINTS WILL BE DEDUCTED IF THE DIRECTIONS ARE NOT FOLLOWED. NOTE: · These are individual assignments and any trace of student copying another student’s work will be given an automatic F for the course. Maintain the ethical integrity. Mayur S. Desai (MIS 675 _ Fall 2016) Database Management Systems Page 1 INDIVIDUAL PROJECT ASSIGNMENT 3 (ORACLE CH.3A) (15 Points) Refer to Problem-Solving Cases (pages119) in Oracle Chapter 3A. Datafile needed for this project assignment is Ch3EmptyClearwater.sql that is attached to the assignment link for Project Assignment 3A 1. On page 25 Clearwater Traders database change the last and the first name of the customer (i.e. the first record C_LAST Graham, C_FIRST Neal) with C_ID to your last and first name. Save the table as CUSTOMER_last four digits of your student ID. Then proceed with the following: 2. Solve the problems 4 on page 119. In order to complete this assignment you must go over the tutorial on Northwoods database starting on Page 87. 3. You will create one input file and one output file (using notepad) as instructed in the class. SQL for all the problem 4
  • 56. should be contained in one input file. Name the input file as Chapter3A_1_3_####_IN and output file as Chapter3A_1_3_####_OUT where #### is the last four digits of your student ID 4. Include comment lines for each problem while writing SQL and include them before the SQL code for each problem. Comment should refer to what the problem is about. For example, when writing and SQL for problem 4 you may include a comment “the following SQL provides the code (describe what the code will accomplish) in Clearwater Traders database”. 5. In the beginning of the input file you must include your name, course number and semester, project number, and your student ID. 6. Print hard copies of the input and output file and submit both the soft and hard copies. Mayur S. Desai (MIS 675 _ Fall 2016) Database Management Systems Page 1