What is the average income of citizens

Assignment Help Database Management System
Reference no: EM133055432

Learning Activity:

Create your own database with the following name format mi602_your_student_number.

Create a single table that would hold information about a citizen entity for the tax department i.e. you would need to include fields to hold information such as:

  1. Name
  2. Address
  3. Data of Birth
  4. Tax File Number
  5. Other fields that you deem necessary

Make sure that you include a variety of data types. e.g date, character,number

Insert some rows of data into your table using SQL statements and create queries that will answer the following questions. You will need at least 15 rows to provide meaningful results.

  1. What is the average age of citizens?
  2. What is the average income of citizens?
  3. Which state has the highest income earner?
  4. The department wishes to add a citizen's title to the table i.e. a field to hold the value of "Mr", "Mrs", "Dr" etc.
    Alter your table to add the new column and update your data using SQL statements for both activities.
  5. Given the following tax table create a view that shows how much tax each person will pay. The view should show title, name, state and tax paid.
    You can name this view vw_TaxPayable.
  6. How many people pay no tax?
    Taxable income Tax on this income
     0 - $18,200  Nil
     $18,201 - $45,000  19 cents for each $1 over $18,200
     $45,001 - $120,000  $5,092 plus 32.5 cents for each $1 over $45,000
     $120,001 - $180,000  $29,467 plus 37 cents for each $1 over $120,000
     $180,001 and over  $51,667 plus 45 cents for each $1 over $180,000
  7. Calculate the total tax collected for all citizens. 
  8. Write a query to remove data from your table for people who pay no tax.
    Document your solution to this activity in a Word document and post your database create, data insert, table alter, create view statement and SQL statement results into Module 5.1 mi602_your_student_number database discussion forum.

Reference no: EM133055432

Questions Cloud

Determine the predetermined overhead rate for July : The company's budgeted fixed manufacturing overhead is $95,460 per month, Determine the predetermined overhead rate for July
Identify the governmental services : Can you identify the governmental services that have been provided to you since you got up this morning?
By how much the Investment in Singleton Ltd account change : Under equity accounting, by how much would the 'Investment in Singleton Ltd' account change for the year ended 31 December 20X0
Criminal investigation discussion : Describe the three basic ways computer crime can be categorized. Explain the steps taken for processing a crime scene involving electronic evidence.
What is the average income of citizens : Create a single table that would hold information about a citizen entity for the tax department - What is the average income of citizens
Summarize your findings on drug-related crimes : Summarize your findings on drug-related crimes. Explain the legal cases associated with organized crime. Explain legal cases associated with drug-related crimes
Calculate NOPAT and ROI for Tri Town Millls : For the most recent year, Tri Town had net income of $19,200,000. Calculate NOPAT, invested capital, and ROI for Tri Town Mills
What is the amount of the discount on the bonds at issuance : Shay retires these bonds by buying them on the open market for $315,750. What is the amount of the discount on the bonds at issuance
What is the firm AFN for the coming year : Cold Duck Manufacturing Inc. reported sales of $743,000 at the end of last year; What is the firm AFN for the coming year

Reviews

Write a Review

Database Management System Questions & Answers

  Investigation into data warehouses vs transactional database

Analyze these dynamically growing and large-scale data to make accurate and prompt decisions. Data warehousing is one of new techniques especially designed

  Explain the manner in which the chosen phase would change

Select one phase of the Database Life Cycle, and Explain the manner in which the chosen phase would change based on the size of the organization.

  Design tables in 3nf various codes for at least three fields

Create tables in 3NF. As you create the database, include different codes for at least three of the fields. Use sample data to populate fields for at least three records in each table.

  Manage the data in an organizations business processes

Discuss the different strategies that a good database administrator would be implementing for ensuring the complete backups, no data loss

  Classify the given attributes by number of values

Classify the following attributes by number of values (binary, discrete or continuous) and applicable operations (nominal, ordinal, interval, ratio). Explain your choice.

  Create a relational schema

There are errors in the Company Schema. Identify all of the errors. Using ER Diagramming notation, diagram a relational model that is capable of modeling a e-commerce-based company. It should include the following information

  Create 3 rows of data for each table ensuring

Write SELECT statements for the following (include a screenshot of the SQL and its execution, including the resulting data).

  Create a database using professional principles

Create a database using professional principles and standards. Use a relational database software application to develop a database implementing the logical design into a physical design

  Design a database solution and the potential business rules

Identify the potential sales and department store transactions that can be stored within the database. Design a database solution and the potential business rules that could be used to house the sales transactions of the department store.

  What are the measures that can be taken to ensure data

What are some of the measures that can be taken to ensure that data in a Cloud environment is secure? Include techniques for data-at-rest vs. data-in-transit en

  Metropolitan city church managementmetropolitan city church

metropolitan city church managementmetropolitan city church management mccm has hired you as a consultant to modernize

  Identify the business rule associated with business function

Identify the business rules associated with your selected business function. Explain the manner in which such business rules would impact design of a database.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd