Querying a Database Using Joins and Subqueries

Part 1

Perform a backup of the database using mysqldump before continuing. Do not overwrite the previous backup. There is no need to restore from the backup unless you run into problems in the following parts of the assignment.

Part 2

Add additional tables to the volunteer database to track hours worked per week by the volunteers and amounts of funds raised. Remember to design the tables with appropriate primary and foreign keys so you can relate these records to volunteers in the Person table. Each table should include a column to hold a date to identify the start of the week. Insert data into these tables (at least 10 rows). Submit SQL statements with this assignment. Include a screen shot showing the successful insertion of the rows into the tables.

Part 3

Create 3 queries using SQL JOINs involving two or more tables to display information for all volunteers. Submit the text of the queries and results, in addition to screen shots when you turn in the assignment.

Part 4

Write a brief paper describing the tables added in Part 2. Describe the structure of the tables including the column types and the keys (primary and foreign). Discuss the role of the keys in a SQL JOIN like the ones you have written for Part 3 of this assignment. 

#Querying #Database #Joins #Subqueries

Table of Contents

Calculate your order
Pages (275 words)
Standard price: $0.00

Latest Reviews

Impressed with the sample above? Wait there is more

Related Questions

Understanding Investigative Parameters

 No directly quoted material may be used in this project paper. Resources should be summarized or paraphrased with appropriate in-text and Resource page citations. For

Paper #1 (Oral History)

Description Write a 2-3 page oral history paper, based on an interview you conducted with an older relative, regarding his/her memories of electronic media.You will

Business Brief: The Organization

 a. Briefly describe the organization you selected to write on throughout this course, its purpose, and why you chose the organization. b. Describe how your

LBST 1007: Labour market motivation

Required texts   Jackson, Andrew. (2017). Work and Labour in Canada: Critical Issues third Edition. Toronto:   Canadian Scholars’ Press, Inc   Recommended Texts:  

INTERVIEW

Patient Perceptions, Professional Expectations Jayne believes that nurse practitioners hold clinical and non-clinical roles in the acute care setting. She explained that the responsibilities of

Finance & Procurement Assignment

Finance & Procurement Assignment   The task of the assignment is to financially analyse the companies mentioned in the Assignment brief (attached) using key corporate

Christain

Description Statement of Purpose – A three-page essay describing (1) your sense of vocation in Christian ministry, articulating the significant points of affirmation that led

New questions

Don't Let Questions or Concerns Hold You Back - Make a Free Inquiry Now!