CompanyDB Problems page 1 of 3
Consider the employee database of Figure CompanyDB:
*************************************************
* employee (employee_name, street, city) *
* works (employee_name, company_name, salary) *
* company (company_name, city) *
* manages (employee_name, manager_name) *
*************************************************
Figure CompanyDB.
Using the course database, give an expression in SQL for each of the following queries. The expected results are indicated for each query.
a. Find the names of all employees who work for First Bank Corporation.
EMPLOYEE_NAME
--------------------
Ferris
Johnson
Laikin
Moira
Turner
b. Find the names and cities of residence of all employees who work for First Bank Corporation.
EMPLOYEE_NAME CITY
-------------------- --------------------
Ferris Westchester
Johnson Palo Alto
Laikin Culver City
Moira Kentwood
Turner Palo Alto
c. Find the names, street address, and cities of residence of all employees who work for First Bank Corporation and earn more than $10,000.
EMPLOYEE_NAME STREET CITY
-------------------- ------------------------------ --------------------
Ferris Loyola Westchester
Johnson Alma Palo Alto
Laikin Berryman Culver City
Moira Nancy Kentwood
Turner Alma Palo Alto
d. Find all employees in the database who live in the same cities as the companies for which they work.
EMPLOYEE_NAME
--------------------
August
Brooks
Curry
Hayes
Jones
Smith
e. Find all employees in the database who live in the same cities and on the same streets as do their managers.
EMPLOYEE_NAME
--------------------
Curry
Lindsay
Turner
Williams
f. Find all employees in the database who do not work for First Bank Corporation
EMPLOYEE_NAME
--------------------
Adams
August
Brooks
Curry
Glenn
Green
Hayes
Jones
Lindsay
Schmidt
Smith
Williams
Young
g. Find all employees in the database who earn more than every employee of Small Bank Corporation.
EMPLOYEE_NAME SALARY
-------------------- ---------
August 150000.00
Schmidt 120000.00
h. Assume that the companies may be located in several cities. Find all companies located in every city in which Small Bank Corporation is located
COMPANY_NAME
------------------------------
Small Bank Corporation
i. Find all employees who earn more than the average salary of all employees of their company.
EMPLOYEE_NAME
--------------------
Adams
August
Brooks
Ferris
Glenn
Green
Johnson
Laikin
j. Find the company that has the most employees. Show the company name and number of employees.
COMPANY_NAME COUNT(DISTINCT employee_name)
------------------------------ -----------------------------
First Bank Corporation 5
k. Find the company that has the smallest payroll.
COMPANY_NAME
------------------------------
Cathedral Software
l. Find those companies whose employees earn a higher salary, on average, than the average salary at First Bank Corporation.
COMPA.
Data Exploration with Apache Drill: Day 2Charles Givre
Study after study shows that data scientists and analysts spend between 50% and 90% of their time preparing their data for analysis. Using Drill, you can dramatically reduce the time it takes to go from raw data to insight. This course will show you how.
The course material for this presentation are available at https://github.com/cgivre/data-exploration-with-apache-drill
Advanced MySQL Query Tuning - talk at Percona Live and MySQL Meetup tour.
Tuning Queries and Schema/Indexes can significantly increase performance of your application and decrease response times.
This year I will cover new MySQL 5.6 and 5.7 algorithms that has been designed to improve query performance and simply tuning.
Topics:
1. Group by and order by optimizations
2. MySQL temporary tables and filesort
3. Using covered indexes to optimize your queries
4. Loose and tight index scan in MySQL
5. Using summary tables to optimize your reporting queries
6. New MySQL 5.6 and 5.7 Optimizer features and improvements
create_workbook_store.sql
-- create_store.sql
-- Introcution, Oracle Database 11g PL/SQL Programming Workbook
-- by Michael McLaughlin and John Harper
--
-- This demonstrates building a DVD, Game Cartridge and VHS tape store.
-- It also highlights constraints and compound check constraints and
-- seeds the tables with data.
SPOOL create_store.log
SET ECHO OFF
SET FEEDBACK ON
SET NULL '<Null>'
SET PAGESIZE 999
SET SERVEROUTPUT ON
-- Conditionally drop objects.
BEGIN
FOR i IN (SELECT null
FROM user_tables
WHERE table_name = 'SYSTEM_USER') LOOP
EXECUTE IMMEDIATE 'DROP TABLE system_user CASCADE CONSTRAINTS';
END LOOP;
FOR i IN (SELECT null
FROM user_sequences
WHERE sequence_name = 'SYSTEM_USER_S1') LOOP
EXECUTE IMMEDIATE 'DROP SEQUENCE system_user_s1';
END LOOP;
END;
/
-- ------------------------------------------------------------------
-- Create SYSTEM_USER table and sequence and seed data.
-- ------------------------------------------------------------------
CREATE TABLE system_user
( system_user_id NUMBER CONSTRAINT pk_system_user PRIMARY KEY
, system_user_name VARCHAR2(20) CONSTRAINT nn_system_user_1 NOT NULL
, system_user_group_id NUMBER CONSTRAINT nn_system_user_2 NOT NULL
, system_user_type NUMBER CONSTRAINT nn_system_user_3 NOT NULL
, last_name VARCHAR2(20)
, first_name VARCHAR2(20)
, middle_initial VARCHAR2(1)
, created_by NUMBER CONSTRAINT nn_system_user_4 NOT NULL
, creation_date DATE CONSTRAINT nn_system_user_5 NOT NULL
, last_updated_by NUMBER CONSTRAINT nn_system_user_6 NOT NULL
, last_update_date DATE CONSTRAINT nn_system_user_7 NOT NULL);
CREATE SEQUENCE system_user_s1 START WITH 1000;
INSERT INTO system_user
VALUES ( 1,'SYSADMIN',1,1,1,NULL,NULL,1,SYSDATE,1,SYSDATE);
ALTER TABLE system_user ADD CONSTRAINT fk_system_user_1 FOREIGN KEY(created_by)
REFERENCES system_user(system_user_id);
ALTER TABLE system_user ADD CONSTRAINT fk_system_user_2 FOREIGN KEY(last_updated_by)
REFERENCES system_user(system_user_id);
-- Conditionally drop objects.
BEGIN
FOR i IN (SELECT null
FROM user_tables
WHERE table_name = 'COMMON_LOOKUP') LOOP
EXECUTE IMMEDIATE 'DROP TABLE common_lookup CASCADE CONSTRAINTS';
END LOOP;
FOR i IN (SELECT null
FROM user_sequences
WHERE sequence_name = 'COMMON_LOOKUP_S1') LOOP
EXECUTE IMMEDIATE 'DROP SEQUENCE common_lookup_s1';
END LOOP;
END;
/
-- ------------------------------------------------------------------
-- Create COMMON_LOOKUP table and sequence and seed data.
-- ------------------------------------------------------------------
CREATE TABLE common_lookup
( common_lookup_id .
What do zen practice and Oracle SQL optimization have in common? You’d be surprised! This presentation demonstrates how the zen principles of simplicity, focus, and practice can be applied to your technical skills to make you a calm and fearless SQL optimizer. You will be “enlightened” as to how to find ease with your day-to-day SQL tuning activities.
set FOREIGN_KEY_CHECKS=false;-- --------------------------.docxklinda1
set FOREIGN_KEY_CHECKS=false;
-- -----------------------------------------------------
-- uncomment and run these 3 SCHEMA commands if you are using your own server
-- -----------------------------------------------------
DROP SCHEMA IF EXISTS wellness_app ;
CREATE SCHEMA IF NOT EXISTS wellness_app DEFAULT CHARACTER SET utf8 ;
USE wellness_app ;
-- ----------------------------------------------------
-- End uncomment
-- ----------------------------------------------------
-- -----------------------------------------------------
-- Table user
-- -----------------------------------------------------
DROP TABLE IF EXISTS user ;
CREATE TABLE IF NOT EXISTS user (
id INT NOT NULL AUTO_INCREMENT,
first_name VARCHAR(128) NOT NULL,
last_name VARCHAR(128) NOT NULL,
DOB DATE NULL,
PRIMARY KEY (id))
ENGINE = InnoDB
ROW_FORMAT = COMPRESSED;
-- -----------------------------------------------------
-- Table interest
-- -----------------------------------------------------
DROP TABLE IF EXISTS interest ;
CREATE TABLE IF NOT EXISTS interest (
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
PRIMARY KEY (id))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table step
-- -----------------------------------------------------
DROP TABLE IF EXISTS step ;
CREATE TABLE IF NOT EXISTS step (
id INT NOT NULL AUTO_INCREMENT,
title VARCHAR(50) NOT NULL,
PRIMARY KEY (id))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table theme
-- -----------------------------------------------------
DROP TABLE IF EXISTS theme ;
CREATE TABLE IF NOT EXISTS theme (
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
PRIMARY KEY (id))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table user_follow
-- -----------------------------------------------------
DROP TABLE IF EXISTS user_follow ;
CREATE TABLE IF NOT EXISTS user_follow (
id INT NOT NULL AUTO_INCREMENT,
following_user_id INT NOT NULL,
followed_user_id INT NOT NULL,
weight INT NOT NULL DEFAULT 0,
PRIMARY KEY (id),
INDEX fk_user_user_connection_user1_idx (following_user_id ASC),
INDEX fk_user_user_connection_user2_idx (followed_user_id ASC),
CONSTRAINT fk_user_user_connection_user1
FOREIGN KEY (following_user_id)
REFERENCES user (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fk_user_user_connection_user2
FOREIGN KEY (followed_user_id)
REFERENCES user (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table user_interest
-- -----------------------------------------------------
DROP TABLE IF EXISTS user_interest ;
CREATE TABLE IF NOT EXISTS user_interest (
user_id INT NOT NULL,
interest_id INT NOT NULL,
INDEX fk_user_interest_user1_idx (user_id ASC),
INDEX fk_user_interest_interest1_idx (interest_id ASC),
PRIMARY KEY (use.
Cosmetics Shop Management System is a complete solution for managing a Shop, in other words, an enhanced tool that assists in organizing the day-to-day activities of a Shop. There is the need of an application for efficient management and handling customer orders. This Cosmetics Shop Management System keeps every record Shop and reducing paperwork
1. Discuss Blockchains potential application in compensation system.docxmonicafrancis71118
1. Discuss Blockchain's potential application in compensation systems (base wages, incentives, rewards).
2. How can a token economy affect employee compensation?
3. Based on your readings, do worldwide executives believe Blockchain has the potential to radical change the future of organizations?
.
1. Describe the characteristics of the aging process. Explain how so.docxmonicafrancis71118
1. Describe the characteristics of the aging process. Explain how some of the characteristics may lead to elder abuse (memory issues, vulnerability, etc.). Discuss the types of consideration a nurse must be mindful of while performing a health assessment on a geriatric patient as compared to a middle-aged adult.
2.
End-of-life care becomes an issue at some point for elderly clients. Even with the emergence of palliative care programs and hospice programs, most elderly people do not die in their own home as is their preference. What are the reasons for this trend? Discuss what you can do as a nurse to support your clients regarding end-of-life care in accordance with their wishes. Support your response with evidence-based literature.
.
More Related Content
Similar to CompanyDB Problemspage 1 of 3Consider the employee database of .docx
Data Exploration with Apache Drill: Day 2Charles Givre
Study after study shows that data scientists and analysts spend between 50% and 90% of their time preparing their data for analysis. Using Drill, you can dramatically reduce the time it takes to go from raw data to insight. This course will show you how.
The course material for this presentation are available at https://github.com/cgivre/data-exploration-with-apache-drill
Advanced MySQL Query Tuning - talk at Percona Live and MySQL Meetup tour.
Tuning Queries and Schema/Indexes can significantly increase performance of your application and decrease response times.
This year I will cover new MySQL 5.6 and 5.7 algorithms that has been designed to improve query performance and simply tuning.
Topics:
1. Group by and order by optimizations
2. MySQL temporary tables and filesort
3. Using covered indexes to optimize your queries
4. Loose and tight index scan in MySQL
5. Using summary tables to optimize your reporting queries
6. New MySQL 5.6 and 5.7 Optimizer features and improvements
create_workbook_store.sql
-- create_store.sql
-- Introcution, Oracle Database 11g PL/SQL Programming Workbook
-- by Michael McLaughlin and John Harper
--
-- This demonstrates building a DVD, Game Cartridge and VHS tape store.
-- It also highlights constraints and compound check constraints and
-- seeds the tables with data.
SPOOL create_store.log
SET ECHO OFF
SET FEEDBACK ON
SET NULL '<Null>'
SET PAGESIZE 999
SET SERVEROUTPUT ON
-- Conditionally drop objects.
BEGIN
FOR i IN (SELECT null
FROM user_tables
WHERE table_name = 'SYSTEM_USER') LOOP
EXECUTE IMMEDIATE 'DROP TABLE system_user CASCADE CONSTRAINTS';
END LOOP;
FOR i IN (SELECT null
FROM user_sequences
WHERE sequence_name = 'SYSTEM_USER_S1') LOOP
EXECUTE IMMEDIATE 'DROP SEQUENCE system_user_s1';
END LOOP;
END;
/
-- ------------------------------------------------------------------
-- Create SYSTEM_USER table and sequence and seed data.
-- ------------------------------------------------------------------
CREATE TABLE system_user
( system_user_id NUMBER CONSTRAINT pk_system_user PRIMARY KEY
, system_user_name VARCHAR2(20) CONSTRAINT nn_system_user_1 NOT NULL
, system_user_group_id NUMBER CONSTRAINT nn_system_user_2 NOT NULL
, system_user_type NUMBER CONSTRAINT nn_system_user_3 NOT NULL
, last_name VARCHAR2(20)
, first_name VARCHAR2(20)
, middle_initial VARCHAR2(1)
, created_by NUMBER CONSTRAINT nn_system_user_4 NOT NULL
, creation_date DATE CONSTRAINT nn_system_user_5 NOT NULL
, last_updated_by NUMBER CONSTRAINT nn_system_user_6 NOT NULL
, last_update_date DATE CONSTRAINT nn_system_user_7 NOT NULL);
CREATE SEQUENCE system_user_s1 START WITH 1000;
INSERT INTO system_user
VALUES ( 1,'SYSADMIN',1,1,1,NULL,NULL,1,SYSDATE,1,SYSDATE);
ALTER TABLE system_user ADD CONSTRAINT fk_system_user_1 FOREIGN KEY(created_by)
REFERENCES system_user(system_user_id);
ALTER TABLE system_user ADD CONSTRAINT fk_system_user_2 FOREIGN KEY(last_updated_by)
REFERENCES system_user(system_user_id);
-- Conditionally drop objects.
BEGIN
FOR i IN (SELECT null
FROM user_tables
WHERE table_name = 'COMMON_LOOKUP') LOOP
EXECUTE IMMEDIATE 'DROP TABLE common_lookup CASCADE CONSTRAINTS';
END LOOP;
FOR i IN (SELECT null
FROM user_sequences
WHERE sequence_name = 'COMMON_LOOKUP_S1') LOOP
EXECUTE IMMEDIATE 'DROP SEQUENCE common_lookup_s1';
END LOOP;
END;
/
-- ------------------------------------------------------------------
-- Create COMMON_LOOKUP table and sequence and seed data.
-- ------------------------------------------------------------------
CREATE TABLE common_lookup
( common_lookup_id .
What do zen practice and Oracle SQL optimization have in common? You’d be surprised! This presentation demonstrates how the zen principles of simplicity, focus, and practice can be applied to your technical skills to make you a calm and fearless SQL optimizer. You will be “enlightened” as to how to find ease with your day-to-day SQL tuning activities.
set FOREIGN_KEY_CHECKS=false;-- --------------------------.docxklinda1
set FOREIGN_KEY_CHECKS=false;
-- -----------------------------------------------------
-- uncomment and run these 3 SCHEMA commands if you are using your own server
-- -----------------------------------------------------
DROP SCHEMA IF EXISTS wellness_app ;
CREATE SCHEMA IF NOT EXISTS wellness_app DEFAULT CHARACTER SET utf8 ;
USE wellness_app ;
-- ----------------------------------------------------
-- End uncomment
-- ----------------------------------------------------
-- -----------------------------------------------------
-- Table user
-- -----------------------------------------------------
DROP TABLE IF EXISTS user ;
CREATE TABLE IF NOT EXISTS user (
id INT NOT NULL AUTO_INCREMENT,
first_name VARCHAR(128) NOT NULL,
last_name VARCHAR(128) NOT NULL,
DOB DATE NULL,
PRIMARY KEY (id))
ENGINE = InnoDB
ROW_FORMAT = COMPRESSED;
-- -----------------------------------------------------
-- Table interest
-- -----------------------------------------------------
DROP TABLE IF EXISTS interest ;
CREATE TABLE IF NOT EXISTS interest (
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
PRIMARY KEY (id))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table step
-- -----------------------------------------------------
DROP TABLE IF EXISTS step ;
CREATE TABLE IF NOT EXISTS step (
id INT NOT NULL AUTO_INCREMENT,
title VARCHAR(50) NOT NULL,
PRIMARY KEY (id))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table theme
-- -----------------------------------------------------
DROP TABLE IF EXISTS theme ;
CREATE TABLE IF NOT EXISTS theme (
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
PRIMARY KEY (id))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table user_follow
-- -----------------------------------------------------
DROP TABLE IF EXISTS user_follow ;
CREATE TABLE IF NOT EXISTS user_follow (
id INT NOT NULL AUTO_INCREMENT,
following_user_id INT NOT NULL,
followed_user_id INT NOT NULL,
weight INT NOT NULL DEFAULT 0,
PRIMARY KEY (id),
INDEX fk_user_user_connection_user1_idx (following_user_id ASC),
INDEX fk_user_user_connection_user2_idx (followed_user_id ASC),
CONSTRAINT fk_user_user_connection_user1
FOREIGN KEY (following_user_id)
REFERENCES user (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fk_user_user_connection_user2
FOREIGN KEY (followed_user_id)
REFERENCES user (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table user_interest
-- -----------------------------------------------------
DROP TABLE IF EXISTS user_interest ;
CREATE TABLE IF NOT EXISTS user_interest (
user_id INT NOT NULL,
interest_id INT NOT NULL,
INDEX fk_user_interest_user1_idx (user_id ASC),
INDEX fk_user_interest_interest1_idx (interest_id ASC),
PRIMARY KEY (use.
Cosmetics Shop Management System is a complete solution for managing a Shop, in other words, an enhanced tool that assists in organizing the day-to-day activities of a Shop. There is the need of an application for efficient management and handling customer orders. This Cosmetics Shop Management System keeps every record Shop and reducing paperwork
1. Discuss Blockchains potential application in compensation system.docxmonicafrancis71118
1. Discuss Blockchain's potential application in compensation systems (base wages, incentives, rewards).
2. How can a token economy affect employee compensation?
3. Based on your readings, do worldwide executives believe Blockchain has the potential to radical change the future of organizations?
.
1. Describe the characteristics of the aging process. Explain how so.docxmonicafrancis71118
1. Describe the characteristics of the aging process. Explain how some of the characteristics may lead to elder abuse (memory issues, vulnerability, etc.). Discuss the types of consideration a nurse must be mindful of while performing a health assessment on a geriatric patient as compared to a middle-aged adult.
2.
End-of-life care becomes an issue at some point for elderly clients. Even with the emergence of palliative care programs and hospice programs, most elderly people do not die in their own home as is their preference. What are the reasons for this trend? Discuss what you can do as a nurse to support your clients regarding end-of-life care in accordance with their wishes. Support your response with evidence-based literature.
.
1. Dis. 7Should we continue to collect data on race and .docxmonicafrancis71118
1. Dis. 7
Should we continue to collect data on race and ethnicity?
Topic
In what situations should we continue collecting data on race and ethnicity, and in what situations should we stop collecting data on race and ethnicity? (see Desmond & Emirbayer)
2. Jour. 7
We determine whether our society is "colorblind." Our objectives this week are to:
· Describe colorblind racism and new racism;
· Discuss social policy implications of erroneous beliefs that we live in a post-racial or colorblind society; and
· Summarize the perception gap between majority and minority groups and how that impacts support for public policy aimed at combating racial inequality.
Please read all the information provided within the module and the indicated course book readings, then proceed to complete and submit this week's assignments in a timely and effective manner.
Due Thursday
Both 200 each words
.
1. Differentiate crisis intervention from other counseling therapeut.docxmonicafrancis71118
1. Differentiate crisis intervention from other counseling therapeutic interventions. Provide examples to support your rationale. For follow-up discussion, critique the examples provided by your peers for validity.
2. Is the use of standard psychotherapeutic interventions appropriate during a crisis? Why or why not?
.
1. Describe the ethical challenges faced by organizations operating .docxmonicafrancis71118
1. Describe the ethical challenges faced by organizations operating globally. 550 words .
2. Pick one of the following terms for your research: code of ethics, conscious capitalism, corporate social responsibility (CSR), culture, ethical dilemma, external adaptation, mission culture, social capital, values-based leadership, or whistle-blowing. 500 words
.
1. Describe in your own words the anatomy of a muscle. This sho.docxmonicafrancis71118
1. Describe in your own words the anatomy of a muscle. This should include from the muscle down to the myofibrils.
2. Explain in your own words how an action potential results in a muscle contraction.
3. List and describe in your own words the characteristics of skeletal muscle (aka the abilities that a skeletal muscle has).
4. Muscle Tissue
: Describe the appearance of the three types of muscle tissue.
a. Skeletal muscle:
b. Cardiac muscle:
c. Smooth muscle:
5. Muscle Anatomy
: Put the structures in anatomical order from superficial to deep.
Sarcolemma
Perimysium
Endomysium
Epimysium
6. Muscle Identification
: Palpate or locate each of the following muscles and list its origin, insertion, and action.
a. Masseter
b. Upper, middle, and lower trapezius
c. Sternocleidomastoid
d. Temporalis
e. Occipitofrontalis
f. Erector spinae
g. Scalenes
h. External/internal intercostalis
i. Rectus abdominis
j. External/internal oblique
k. Transverse abdominis
l. Rhomboids
m. Serratus anterior
n. Pectoralis major and minor
o. Teres major and minor
p. Latissimius Dorsi
q. Infraspinatus
r. Suprasinatus
s. Subscapularis
t. Deltoid
u. Triceps brachii
v. Biceps brachii
w. Brachialis
x. Brachioradialis
y. Wrist and finger flexors
z. Wrist and finger extensors
aa. Iliopsoas
bb. Tensor fasciae latae
cc. Gluteus maximus
dd. Gluteus medius
ee. Quadriceps
ff. Hamstrings
gg. Sartorius
hh. Adductor longus
ii. Gracilis
jj. Tibialis anterior
kk. Gastrocnemius
ll. Soleus
mm. Peroneals
.
1. Describe how your attitude of including aspects of health literac.docxmonicafrancis71118
1. Describe how your attitude of including aspects of health literacy changed during this course.
2. Describe your approach to incorporating evidence-based literature in health teaching.
3. Describe one theory of teaching or learning that you applied it to your power point presentation.
4. Describe two ways that you have grown as a health educator by taking health promotion course
.
1. Choose a behavior (such as overeating, shopping, Internet use.docxmonicafrancis71118
1. Choose a behavior (such as overeating, shopping, Internet use, etc.) Identify examples of each of the stages of change—pre-contemplation through maintenance—using the behavior you selected as the focus.
2. What are your thoughts on using the readiness assessment tool for addictive behaviors?
What is the stage of readiness in each of these areas for Brian and/or Alyssa?
Need for change
Commitment to change
Self-awareness
Environmental awareness
Personal closeness
Identify a possible next step in the process for the individual you selected that you feel will assist them in their readiness for change.
Be sure to rate each of the readiness assessment areas. Your next steps should be appropriate to the data you discuss in the readiness assessment.
see attachment:
.
1. Case 3-4 Franklin Industries’ Whistleblowing (a GVV Case)Natali.docxmonicafrancis71118
1. Case 3-4 Franklin Industries’ Whistleblowing (a GVV Case)
Natalie got the call she had been waiting for over six long months. Her complaint to the human resources department of Franklin Industries had been dismissed. It was HR’s conclusion that she was not retaliated against for reporting an alleged embezzlement by the Accounting Department manager. In fact, HR ruled there was no embezzlement at all. Natalie had been demoted from assistant manager of the department to staff supervisor seven months ago after informing Stuart Masters, the controller, earlier in 2015, about the embezzlement. Her blood started to boil as she thought about all the pain and agony she’d experienced these past six months without any level of satisfaction for her troubles.
Natalie Garson is a CPA who works for Franklin Industries, a publicly owned company and manufacturer of trusses and other structural components for home builders throughout the United States. Six months ago she filed a complaint with HR after discussing a sensitive matter with her best friend and coworker, Roger Harris. Natalie trusted Harris, who had six years of experience at Franklin. The essence of the discussion was that Natalie was informed by the accounting staff of what appeared to be unusual transactions between Denny King, the department manager, and an outside company no one had never heard of before. The staff had uncovered over $5 million in payments, authorized by King, to Vic Construction. No one could find any documentation about Vic, so the staff dug deeper and discovered that the owner of Vic Construction was Victoria King. Further examination determined that Victoria King and Denny King were siblings.
Once Natalie was convinced there was more to the situation than meets the eye, she informed the internal auditors, who investigated and found that Vic Construction made a $5 million electronic transfer to a separate business owned by Denny King. One thing lead to another, and it was determined by the internal auditors that King had funneled $5 million to Vic Construction, which, at a later date, transferred the money back to King. It was a $5 million embezzlement from Franklin Industries.
Natalie met with Roger Harris that night and told him about the HR decision that went against her. She was concerned whether the internal auditors would act now in light of that decision She knew the culture at Franklin was “don’t rock the boat.” That didn’t matter to her. She was always true to her values and not afraid to act when a wrongdoing had occurred. She felt particularly motivated in this case—it was personal. She felt the need to be vindicated. She hoped Roger would be supportive.
As it turned out, Roger cautioned Natalie about taking the matter any further. He had worked for Franklin a lot longer than Natalie and knew the board of directors consisted mostly of insider directors. The CEO of Franklin was also the chair of Page 181the board. It was well known in the company that whatev.
1. Cryptography is used to protect confidential data in many areas. .docxmonicafrancis71118
1. Cryptography is used to protect confidential data in many areas. Chose one type of cryptography attack and briefly explain how it works (examples include: ciphertext-only attack, known-plain-test attack, chosen-plaintext, chosen-ciphertext attack, timing attack, rubber hose attack, adaptive attack).
2. Select one type of cryptography or encryption and explain it in detail. Include the benefits as well as the limitations of this type of encryption. Your summary should be 2-3 paragraphs in length and uploaded as a TEXT DOCUMENT
.
1. Compare and contrast steganography and cryptography.2. Why st.docxmonicafrancis71118
1. Compare and contrast steganography and cryptography.
2. Why steganography and how does it work? List examples of suitable carriers of steganographic payloads.
3. Experiment with the tool – Steganography Online (http://stylesuxx.github.io/steganography/) to get a feel of how the steganographic tool works.
4. In steganalysis, which methods are used to detect steganography?
Briefly describe how cryptography is applied in ATM, SSL, digital signatures, hashes and drive encryption.
.
1. Date September 13, 2017 – September 15, 2017 2. Curr.docxmonicafrancis71118
1. Date: September 13, 2017 – September
15, 2017
2. Current Exchange Rate ($ / rupee):
1/64.16
3. During the past week (or since your last entry), what has been the major economic or
business news relating to
India? http://www.thehindu.com/business/Industry/economy-suffers-as-firms-tackle-
debt/article19677814.ece
In India this year, there are a fair amount of firms and businesses that are having issues paying off
interest on their loans. On top of this, fewer loans are happening and the state’s GDP growth rate has
lowered this year. The article lists several factors, one of which is pretty simple; interest rates are high
at the moment. This article on business interested me because this is an issue that is relatable to every
modernized country on Earth, how to pay off debt when you aren’t making enough this year to cover
costs? You can’t, so the unpaid portions add up. I didn’t feel like there was a strong bias in this article,
but I’m also not accustomed to the Indian financial market or its businesses. How is this story relevant
to my understanding of India? It lets me take an inside look at the current economy and how they might
be fairing in comparison. It also shows that business and banking policies are not that different on some
levels.
4. During the past week (or since your last entry), what has been the major political
news in India? http://www.thehindu.com/news/national/andhra-pradesh/patronising-congress-
again-a-historic-necessity/article19679153.ece
First, why do I consider this major political news in India? The discussions and accusations being talked
about in the article are serious and can definitely effect votes for the mentioned political parties, which
in turn can change or add new laws, regulations, taxes, and etc. The title seemed incredibly familiar to
what we always see in American newspapers about our politics. I felt that the author, or maybe the
newspaper, might actually lean more towards the BJP and TDP’s opposing forces. Other than that, there
were tons of biased quotes from both parties. So, why do I think this topic is relevant to my
understanding of India? Simply put, just as with business and banking, there is this kind of familiarity in
a way. This article lets me get an inside view on the current parties and the accusations being made,
showing me that politics is a somewhat universal language, one part attack ads, one part confusion, and
one part progress.
5. What new information have you found related to religion in
India?http://www.thehindu.com/society/faith/tendencies-of-
prakriti/article19656107.ece
We talked a lot about how the culture of India and the religions of it can definitely be intertwined. This
short article tells of the three ‘gunas’, which I didn’t know much about if anything really. As far as biases
go, you could say that the article is biased to what it is teaching about this religious aspect, but honestly,
it feels more informative. Why is thi.
1. compare and contrast predictive analytics with prescriptive and d.docxmonicafrancis71118
1. compare and contrast predictive analytics with prescriptive and descriptive analytics. Use examples. (250 words and two references no plagiarism)
2. Discuss the process that generates the power of AI and discuss the differences between machine learning and deep learning.(250 words and two references no plagiarism)
.
1. Creating and maintaining relationships between home and schoo.docxmonicafrancis71118
1. Creating and maintaining relationships between home and school are pivotal to the overall success of our ELL students. Discuss some ways you might cultivate these partnerships throughout the school year.
2. There is research supporting the theory that students who are literate in their home language are more likely to be literate in their second or subsequent language. Thinking of this, what are the potential effects of home language on the development of English and classroom learning?
.
1. Compare and contrast Strategic and Tactical Analysis and its .docxmonicafrancis71118
1. Compare and contrast Strategic and Tactical Analysis and its application to street crimes such as robbery and property crimes such as burglary. In your opinion is one more suited in addressing criminal behavior?
Strategic analysis involves the analysis over the long-term, whereas tactical analysis involves analysis in a more direct manner. Each has analysis scheme has their uses in addressing criminal behavior. To use an example with drug activity strategic analysis would be better suited to understanding who could be the future customers of drug dealers, where are possible locations that could facilitate such deals, and helping law-enforcement and community leaders come up with measures to combat drug sales. However, the tactical analysis would focus more on finding out where the current supply of drugs is coming in from, who the leader(s) is(are), and cracking down on local dealers. While there is overlap between the two, I believe that tactical analysis is the best when addressing criminal behavior, because of the more immediate results that it provides.
2. What is CPTED? Please elaborate on how CPTED may be an effective means to reduce a criminals Modus operandi? Provide an example.
CPTED is an acronym that stands for crime prevention through environmental design which is “The proper design and effective use of the built environment can lead to a reduction in the fear and incidence of crime, and an improvement in the quality of life” (Cozens, Saville, & Hillier, 2005). This means that CPTED is all of the passive defenses that the environment provides law-abiding citizens against criminally minded individuals. These defenses can be broken down into six different aspects that work together to create CPTED they are: territoriality, surveillance, access control, target hardening, image/maintenance, and active support (Cozens, Saville, & Hillier, 2005). All of these aspects work together to decrease crime in the area.
respond to this discussion question in 250 words
.
1. Coalition ProposalVaccination Policy for Infectious Disease P.docxmonicafrancis71118
1. Coalition Proposal
Vaccination Policy for Infectious Disease Prevention and Control
Scope of the Problem
Vaccines have done an excellent job at preventing many diseases, some of which can be deadly if not prevented. When bacteria or viruses enter the body, they immediately begin to attack and multiply, which then causes an infection. The immune system will then fight off the infection and establish antibodies, which will help recognize and fight off the same disease in the future. For this very reason, it has been important for children to be vaccinated at an early age so that they may establish those antibodies their bodies need. Vaccines act as the disease so that the body may produce antibodies, but the good thing is that it won’t cause an infection (CDC, 2017).
There are current policies that mandate vaccinations in the U.S., for example, all children are required to be up to date on their vaccines before beginning school. The problem is that there are many loopholes and exceptions to the rule, whether it’s due to religious reasons or other medical issues. Because of this, there are still many children and adults who have yet to be fully compliant with vaccine requirements
Some important statistics to note (Johns Hopkins Medicine):
· CDC estimated 2,700 new cases of hepatitis A in the U.S.
· It is estimated that in 2011, 19,000 new cases of hepatitis B and 17,000 cases of hepatitis C occurred.
· In 2012, nearly 10,000 new cases of tuberculosis were reported.
· Approximately 36,000 people per year die from influenza and pneumonia.
· 50,000 new cases of HIV infection occur annually.
· In 2012, new cases of STD’s were reported, including HPV, Chlamydia, Gonorrhea, HIV, and Syphilis.
Who is affected by this problem? Identify.
Children are mainly affected by this problem due to parents’ hesitancy for vaccinations. Although law mandates for children to be vaccinated for school enrollment, parents have the option to use exemptions to avoid having their children vaccinated. Currently, medical exemptions are allowed for medical reasons in all states, and it is estimated that one to three percent of children are excused from vaccinations because of these exemptions. Parents have continued to use reasons to avoid vaccinations, for example, the belief that the decline in vaccine-preventable diseases is due to improved health care, hygiene, and sanitation (Ventola, C. L., 2016).
Health disparities among Blacks, Hispanics, and Whites have played a huge role in terms of vaccination coverage. Studies have shown that health insurance has a direct impact on the vaccination coverage in adults, therefore, low-income families who can’t afford health insurance will most likely not get the vaccines they need. With that being said, uninsured prevalence was higher among non-Hispanic blacks (19.5%) and Hispanics (30.1%) compared with non-Hispanic whites (11.1%) (Lu, P., et al, 2015).
What has been written on the issue and policy options?
There ha.
1. Company Description and Backgrounda. Weight Watchers was cr.docxmonicafrancis71118
1. Company Description and Background
a. Weight Watchers was created by Jean Nindetch in 1963 when she began to invite her friends and neighbors so that they can discuss their weight loss issues and how they could lose weight successfully. The basic concept of WW plan consisted of two components: the WW program and group support. Comprised of a food plan and an activity plan. WW eliminated counting calories by introducing a point system.
b. Targeted women 25 to 55
c. 2017 about 1 million members who attended 32,000 WW meetings around the world organized by more then 9,000 leaders who had successful lost weight using WW.
d. Record high revenue 2011 $1.8 billion, in 2012 a slight reduction occurred but beat all pre-2011 numbers, in 2013 is when business began take a turn for the worse.
e. December 2015, WW launched a SmartPoints system which was a scale for food management. It was introduced to work along with a new weight management program called “Beyond the Scale.” Even thought doctors and nutrition’s approved the program, then-CEO David Kirchhoff felt it wasn’t enough because the programs didn’t take into account social, environmental and behavioral factors that led members to fail at their weight loss journey. Shortly after in August 2013, CEO Kirchhoff resigned in order to “pursue other opportunities” which left WW struggling to adjust their business strategy in the Internet Age.
2. Problems Posed In The Case
a. CEO Jim Chambers resigned in September 2016 afterward a tumultuous year with stock prices dropping 54% that year alone and seven straight quarters of declining sales.
b. Next generation diet programs and online apps like MyFitnessPal and FitBit were providing the same services for free of charge. CEO Chambers admitted that “consumers have changed and that WW hadn’t kept the pace.”
c. As obesity levels increased worldwide, the market for weight loss products was growing exponentially, however, WW had to increase customer value and seek new target segments to fend off competitors from traditional rivalry’s like Nutrisystem, Slim Fast, Medifast, Jenny Craig and the Biggest Loser.
d. Emergence of fad diets
e. Decreased effectiveness of marketing and advertising programs
f. The need for developing new and innovative products and services that could be delivered online or via mobile apps
g. WW International faced stock price volatility because of rival weight management options such as the over-the-counter weight-loss drug Alli launched by GlaxoSmithKline in June 2006 and the development of Allergan’s Lap-Band device.
h. Worldwide Health Organization estimated 2.3 billion people to be overweight by 2015 and more than 700 million obese.
i. The development of effective weight-management methods i.e. pharmaceuticals, surgical options such as the Lap-Band.
3. Financial Analysis
a. In 2017, revenue was 1.3 billion and in 2018 revenue was up by 5.77% at 1.5 billion.
4. Strategic Options
a. During the dot-com era they creat.
1. Come up with TWO movie ideas -- as in for TWO screenplays that .docxmonicafrancis71118
1. Come up with TWO movie ideas -- as in for TWO screenplays that you'd be interested in writing.
You will eventually choose ONE screenplay to live with for the duration of this course. You will distill each idea into a single sentence. We call this a LOGLINE.
A good logline: 1. Must include your PROTAGONIST. 2. Must be under 50 words. 3. Must contain the word "BUT" ("but" signifies conflict).
After you write the logline. Tell us about your PROTAGONIST. What is her/his most pressing DESIRE? What are some of the potential OBSTACLES that can get in the way?
TRY TO KEEP IT SIMPLE!
Here's an example:
MOVIE IDEA #1
WORKING TITLE: "COLLATERAL"
LOGLINE: A cab driver dreams of starting his own limo company, BUT when a hitman gets into his cab, our hero must figure out how to survive the night.
PROTAGONIST: Max (Cab Driver)
DESIRE: To stop Vincent (the Hitman)
POTENTIAL OBSTACLES: The HITMAN who never fails. THE COPS who think Max is the hitman. THE GANGSTERS who want the hitman dead. MAX’s own timid and hesitant nature.
2.What is the INCITING INCIDENT in your two film ideas? What is the 1stACT BREAK?
Example:
MOVIE TITLE: COLLATERAL
INCITING INCIDENT: Vincent gets into Max’s cab, makes Max an offer
1STACT BREAK: Body drops on Max’s cab; Reveal Vincent is a Hitman
(To discover your inciting incident possibly contemplate what the worst thing that could happen to your particular character would be)
Interview questions
1. Do you have a specific reason why you wanted to become a physical therapist?
2. Why do think it’s a good idea to be a physical therapist?
3. What did you get your bachelor degree on?
4. Were you in any kind of program for PT?
5. What kind of opportunities were there for you after getting your bachelor degree?
6. What were some of the difficulties you faced when you were looking for jobs?
7. What are some things I should know before I continue?
8. What are some jobs that I can apply to, to get experience with what a want to pursue?
9. How long did it take you to finish school and start your job?
10. What are some skills a person should have that wants to do DPT?
Unal 2
Seyma Unal
English 101 Z02N
Ms. Claytor
24 June 2019
Isabella Mia Interview as a Physical Therapist
Isabella Mia is a physical therapist who is working in the US as a therapist for the last 10 years. I have selected her for the interview because the physical therapist is a tough job and it is important to consider a person who has worked in it for a long time to get the right insights. She is a very dedicated person towards her work and this the reason behind her success in this field. I met her for this interview on a coffee shop and following is the information that I got from her.
Seyma Unal : Do you have a specific reason why you wanted to become a physical therapist?
Isabella Mia : I believe that this is a very rewarding career. I always wanted to do something that can ease other people and in this profession, we have contact with customers .
1. Choose a case for the paper that interests you. Most choose a .docxmonicafrancis71118
1. Choose a case for the paper that interests you. Most choose a case that they experienced on the job (e.g., company merger, reorganization, adoption of innovation or new procedure). If you have never experienced anything remotely like this, then you could choose a case in your community that interested you (e.g., political issues like taxes, land acquisition, school boards). If none of those apply then you can choose a case that is personal to you (e.g., getting a raise, selling something to a client or customer). If you have never worked, then choose a case you may experienced as an intern or student. I am pretty liberal about the kind of case that you choose.
2. Choose a case that involved a failed change attempt or proposes a change that has never been attempted. DO NOT CHOOSE A CASE THAT WAS SUCCESSFUL. The outline is hard to use when describing successful change attempts.
3. Write the paper as an expanded outline. That means writing paragraphs under the lower level headings. By using the outline as headings, you won’t leave something out.
4. With regard to length, some overwrite Section I. I think they get into describing the problem and go on a tirade. Although cathartic, it eats space. Section II should be relatively brief and the shortest of the three sections. Section III is where you should be writing a lot. That is where you are showing me that you can use the course content to propose an effective change.
5. Remember that you will be sending the paper to me as an attachment. I will grade it and make comments in the file. I will return it to you at the SAME address from which I received it. IF FOR SOME REASON, YOU DON’T WANT ANYONE TO SEE THE PAPER, USE YOUR STUDENT EMAIL ADDRESS. DO NOT USE YOUR WORK ADDRESS.
6. I will erase all papers at the end of the term. I never share papers with others.
Below I will give you some insights into the outline.
SUGGESTED OUTLINE FOR CHANGE MANAGEMENT PAPERS
I. Statement of problem area. In this section, describe the change attempt and the key players.
A. Background of change attempt.
1. Nature of change (What is being proposed?).
In this section, provide an overview of the change including a brief history.
2. Issues (Why is it being proposed?).
If you are writing about a failed change, indicate why it was proposed and how it failed. If you are writing about a proposed change, then describe the problem it is intended to resolve.
3. Change Agent(s). This section is focused on the people who proposed or will propose the change. If there are only a few change agents, you can describe what each on is like. If you are there many, then describe their general characteristics.
4.
A. Personality. What are they like? If you want, you can refer to the personalities I mention in the handout on integrative bargaining.
B. Power. What kind of power do the change agents have and how much? Is their power formal (e.g., authority) and/or or informal (e.g., expertise, chari.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
CompanyDB Problemspage 1 of 3Consider the employee database of .docx
1. CompanyDB Problems page 1 of 3
Consider the employee database of Figure CompanyDB:
*************************************************
* employee (employee_name, street, city) *
* works (employee_name, company_name, salary) *
* company (company_name, city) *
* manages (employee_name, manager_name) *
*************************************************
Figure CompanyDB.
Using the course database, give an expression in SQL for each
of the following queries. The expected results are indicated for
each query.
a. Find the names of all employees who work for First Bank
Corporation.
EMPLOYEE_NAME
--------------------
Ferris
Johnson
Laikin
Moira
Turner
b. Find the names and cities of residence of all employees who
work for First Bank Corporation.
EMPLOYEE_NAME CITY
-------------------- --------------------
Ferris Westchester
Johnson Palo Alto
Laikin Culver City
2. Moira Kentwood
Turner Palo Alto
c. Find the names, street address, and cities of residence of all
employees who work for First Bank Corporation and earn more
than $10,000.
EMPLOYEE_NAME STREET CITY
-------------------- ------------------------------ --------------------
Ferris Loyola Westchester
Johnson Alma Palo Alto
Laikin Berryman Culver City
Moira Nancy Kentwood
Turner Alma Palo Alto
d. Find all employees in the database who live in the same cities
as the companies for which they work.
EMPLOYEE_NAME
--------------------
August
Brooks
Curry
Hayes
Jones
Smith
e. Find all employees in the database who live in the same cities
and on the same streets as do their managers.
EMPLOYEE_NAME
--------------------
Curry
Lindsay
3. Turner
Williams
f. Find all employees in the database who do not work for First
Bank Corporation
EMPLOYEE_NAME
--------------------
Adams
August
Brooks
Curry
Glenn
Green
Hayes
Jones
Lindsay
Schmidt
Smith
Williams
Young
g. Find all employees in the database who earn more than every
employee of Small Bank Corporation.
EMPLOYEE_NAME SALARY
-------------------- ---------
August 150000.00
Schmidt 120000.00
h. Assume that the companies may be located in several cities.
Find all companies located in every city in which Small Bank
Corporation is located
4. COMPANY_NAME
------------------------------
Small Bank Corporation
i. Find all employees who earn more than the average salary of
all employees of their company.
EMPLOYEE_NAME
--------------------
Adams
August
Brooks
Ferris
Glenn
Green
Johnson
Laikin
j. Find the company that has the most employees. Show the
company name and number of employees.
COMPANY_NAME COUNT(DISTINCT employee_name)
------------------------------ -----------------------------
First Bank Corporation 5
k. Find the company that has the smallest payroll.
COMPANY_NAME
------------------------------
Cathedral Software
l. Find those companies whose employees earn a higher salary,
on average, than the average salary at First Bank Corporation.
COMPANY_NAME
------------------------------
5. IBM
Integrated Data Systems
Multnomah Software
Small Bank Corporation
Sneakers
saugust-CompanyDB-DROP.sql
DROP TABLE IF EXISTS works
;
DROP TABLE IF EXISTS works2
;
DROP TABLE IF EXISTS manages
;
DROP TABLE IF EXISTS manages2
;
DROP TABLE IF EXISTS company
;
DROP TABLE IF EXISTS company2
;
DROP TABLE IF EXISTS employee
;
DROP TABLE IF EXISTS employee2
;
__MACOSX/._saugust-CompanyDB-DROP.sql
6. saugust-CompanyDB.sql
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET
@[email protected]@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SE[email protected]@CHARACTER_SE
T_RESULTS */;
/*!40101 SET
@[email protected]@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
-- --------------------------------------------------------
--
-- Table structure for table `company`
--
CREATE TABLE IF NOT EXISTS `company` (
`company_name` varchar(30) NOT NULL DEFAULT '',
`city` varchar(20) DEFAULT NULL,
PRIMARY KEY (`company_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `company`
--
7. INSERT INTO `company` (`company_name`, `city`) VALUES
('Cathedral Software', 'San Francisco'),
('First Bank Corporation', 'Brooklyn'),
('IBM', 'San Jose'),
('Integrated Data Systems', 'Westchester'),
('Multnomah Software', 'Westchester'),
('Small Bank Corporation', 'Palo Alto'),
('Sneakers', 'Chicago');
-- --------------------------------------------------------
--
-- Table structure for table `company2`
--
CREATE TABLE IF NOT EXISTS `company2` (
`company_name` varchar(30) NOT NULL DEFAULT '',
`city` varchar(20) NOT NULL DEFAULT '',
PRIMARY KEY (`company_name`,`city`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `company2`
--
INSERT INTO `company2` (`company_name`, `city`) VALUES
('August Software', 'Westchester'),
('Cathedral Software', 'Palo Alto'),
('Cathedral Software', 'San Francisco'),
('Cathedral Software', 'Santa Clara'),
('First Bank Corporation', 'Brighton'),
('First Bank Corporation', 'Brooklyn'),
('IBM', 'San Jose'),
('IBM', 'Yorktown Heights'),
('Integrated Data Systems', 'Westchester'),