SQL Project

This mini-project has two parts; each part may be submitted independently. Results may be submitted using one of the documentation options identified in a separate document. Consult the document Documenting SQL in Class Content -> Oracle 11g XE. The files containing the schema and sample data for the Company database and the schema for the Sales database are posted in Class Content -> Scripts.

Part 1
Preparation
1.    Start the SQL Command Line and create a user account for each part of the assignment. (Do not use the sys or system account for the SQL exercises after the account has been created.)
a.    Login as user system to do this.
2.    Start SQLDeveloper and define a connection for the user you just created.
3.    The instructions for creating a user account and the SQL Developer connection are posted in Class Content -> Oracle 11g XE
4.    Login as the new user for the rest of the exercise.
a.    For the command line login as the username you created.
b.    For SQLDeveloper, use the connection you defined.
5.    Upload and execute the script CompanyTables.sql from the class CD.
6.    Upload and execute the script CompanyData.sql from the class CD.

Instructions
“??    Write and execute the SQL query to solve each problem using the Company database.
“??    You must use the information given in each problem; do not use information that is contained in the sample data to simplify a query. You wouldn””?t have this information in a real-life problem with a much larger database.
“??    Include the results returned in your solution file.

Problems
1.    List the name, address, and date of birth of all female employees. Order the list alphabetically by last name.
2.    List the name and salary of all employees in the Research department. Order the list in decreasing order of salaries.
3.    List the name and hours worked per week for each employee who works on the Reorganization project. Order the list by hours worked in decreasing order and by last name within each amount of hours.
4.    List the name of all employees directly supervised by Franklin Wong. Order the list by employee last name.
5.    List the average salary of the employees of the Research department.
6.    List the name of each department and the name of the department manager. Order the list by department name
7.    For every project located in Houston, list the project name, the controlling department name, and the department manager’s name. Order the list by project name.
8.    For all employees with children, list the (first and last) name of the employee and the first name of the child. Order the list by last name of the employee and first name of the child. Hint: Be careful that you do not list the spouses, only the children.
9.    List the (first and last) name of each employee and the name of the employee””?s spouse, if known. Hint: Be careful here; this uses a different operation than the previous question. You want to list all the employees, not just the ones who list a spouse.
10.    List the (first and last) name of each employee who has no dependents. Hint: Remember the set operations.

Part 2

Preparation
1.    Start the SQL Command Line and create a user account for each part of the assignment. (Do not use the sys or system account for the SQL exercises after the account has been created.)
a.    Login as user system to do this.
2.    Start SQLDeveloper and define a connection for the user you just created.
3.    The instructions for creating a user account and the SQL Developer connection are posted in Class Content -> Oracle 11g XE
4.    Login as the new user for the rest of the exercise.
a.    For the command line login as the username you created.
b.    For SQLDeveloper, use the connection you defined.
5.    Upload and execute the script SalesTables.sql from the class CD.
6.    Upload and execute the script SalesData1.sql from the class CD.
7.    Upload and execute the script SalesData2.sql from the class CD.

Instructions
“??    Write and execute the SQL query to solve each problem using the Company database.
“??    You must use the information given in each problem; do not use information that is contained in the sample data to simplify a query. You wouldn””?t have this information in a real-life problem with a much larger database.
“??    Include the total number of rows returned by the query.
“??    Include the results returned in your solution file.
“??    Include only the first ten rows of the results, if the query returns more than ten rows.

Problems
1.    List the name, city, state, and phone number of each customer not located in Washington (state). Organize the list alphabetized by state and city within each state. Within each city, order the customer names alphabetically with last name followed by first name.
2.    List the names of the vendors who supply at least one of the products included in order number 706. List the vendors in alphabetical order. No duplicates please.
3.    List the product name, price, vendor name, and wholesale price for all products in the Components category and all vendors who supply those products. Order the list alphabetically by product name and vendor within each product.
4.    How many orders does each customer have? Include the customer””?s name and the number of orders, listed in alphabetical order of the customer””?s last name. (Don””?t forget both first and last names.)
5.    For each product list the product number, product name, average wholesale price, and the number of vendors who supply that product. List the results in alphabetical order of product name.
6.    How many orders include at least 7 different products? Provide the order number, customer name, and the number of products. Order the list by order number.
7.    List the order number, customer name, shipping date, and state for each order shipped outside Washington during December 2002, ordered by shipping date and order number within each date. (Be careful.)
8.    List the order number, product name, and order date for each order placed by customers named Hallmark. Organize the list by customer first name, order number and the product names in alphabetical order for each order number.
9.    Which employees placed an order for a customer with the same last name as the employee? If so, list the common last name, employee first name, customer first name, and order number for each order. Order the list by employee name (last name and first name) and customer first name for each common last name.
10.    The company is giving a bonus to the three employees who placed the most orders. List the employees and how many orders each placed. Organize the list so that the names of the employees earning the bonuses appear first.

does having "positive" role models as a child serves as a deterrent to a life of crime

1. Do you think having “positive” role models as a child serves as a deterrent to a life of crime? is what constitutes a “positive” role model the same for everyone or does it vary? (1 paragraph)
2. Both wes’ had absent fathers. do you think the way in which they lost their fathers influenced their choices in life? ( from Book “the other wes moore by wes moore”  use book only) 1 paragraph
3. in what ways does the story demonstrate the idea of “nature vs. nature” or being a product of your environment? (from book, “the other wes moore by wes moore” se book only) 1 paragraph

Ethics

Textbook: A Practical Guide to Ethics: Living and Leading with Integrity by Rita Manning & Scott R. Stroud, 2008, Westview Press
ISBN-13:  978-0-8133-4382-2
ISBN-10:  0-8133-4382-8

1.  Professional’s Obligations to Clients

In the fiduciary professional-client relationship there are specific obligations the professional must provide in order to generate faith and confidence from clients.

a.  List each of the 7 + 1 more of the professional’s obligations to clients we have studied in this unit.

b.  Provide a definition of each of the 7 + 1 obligations you listed.

c.  Explain in detail which 3 of these you find most difficult for the professional to provide, and why. Use examples to support your choices.

2.  Kant and Respect for Others

a.  Clearly describe both forms of Kant’s categorical imperative.

b.  What does it mean for a principle to be universal and reversible?

c.  Do you agree with Kant’s idea that we should “act on the basis of right intention?”  Use an example to support your answer.

3.  Aristotle and Virtuous Living

a.  Aristotle says that “a virtue is a mean between two extremes.”  In your own words, what is the meaning of this statement?

b.  Give 3 examples of Aristotelian virtues.  Be sure to mention how each one is a “mean between what 2 extremes.”

movie review Taxi Driver

Watch the film Taxi Driver. How would Schopenhauer analyze Travis Bickle’s behavior? (Hint: How is Travis related to the painful structure of willing? Does Travis achieve “Denial of Will?)

The truth about Islam: Terrorism and Women’s rights in Afghanistan

the Core of the Islamic religion or its real essence. whether or not people think that the Islamic religion is about violence and hatred. “A good place to have a survey questions ” it must be included with the paper.  prove or show those who think that what happened in 911 and what’s happening with the women treatment in Afghanistan is something that Islam has nothing to do with,and totally against it,and it does not urge to do such kind of horrible things. So, in this paper,you will be arguing and proving to people that 911 and Women treatment in Afghanistan is not something that Islam says. you must  use resources from the “Quran”  and “Hadith”  among other resources.

CANCER

CANCER:  This word is everywhere and it actually is rare to get cancer.  If you had to have a cancer, which one do you think would be best to get?  Research cancers that are highly treatable with a high success rate and pick the one you’d choose.  Talk about some success stories.

american correction system

◦Research and explain the purpose of classification in prison.
■What does classification determine?
■Explain the type of information provided by the presentence report and how this affects classification.
■What does classification determine? Provide examples of different state- and federal-level facilities and the types of prisoners they may house, based on classification.
◦Research and explain how incarceration affects prisoners and the culture of prison.
■How does incarceration affect a prisoner? Explain in detail.
■What positive elements exist within a prison’s culture? Explain.
■What negative elements exist within a prison’s culture? Explain.
◦Research and explain how women cope in prison.
■How does incarceration affect women differently from men? Explain.
■What programs or regulations are in place for women that are not offered to men? Explain.
◦Research and discuss different types of rehabilitative programs, restorative justice sentencing, and prisoner reentry programs available to offenders.
■What are the most popular forms of correction alternatives available to offenders? Explain.
■Which of these programs and alternative sentences are the most effective? Explain and fully support your arguments.

Developmental Psychology

Analyse the life-event of ‘a person having their first child’ through the lens of two well-known developmental theories.

Do this by first creating a 20 question interview, then analysing the supposed responses to these questions directly referencing the two theories.

Said's Orientalism and Minh-ha's Not You/Like You

Look back at Said’s Orientalism. Write a 250-word reflection on the tone (device, diction, and structure) he uses to approach his “arguments.” Does this article resemble an extension or adaptation of a conventional approach to argument? Can you identify how Said has adapted or extended an aspect of any of the approaches to conventional argument? Be sure to include a couple of textual examples to demonstrate why you feel this way. Post your reflection to the Discussion Board, and read the posts from your colleagues, responding to at least two of them.
“““““““““““““““““““““““““““““““““““`
Look back at Minh-ha’s Not You/Like You. Write a 250-word reflection on Minh-ha’s approach to her “arguments.” How does the article work as an argument? Be sure to include several textual examples to demonstrate why you feel this way. Post your reflection to the Discussion Board, and read the posts from your colleagues, responding to at least two of them.