Write a query statement to show all data records

Assignment Help Database Management System
Reference no: EM131298636

Project 1 & 2 Data info Mgt

You need the salesordersexample database to complete this project. If you have not installed the database in MySQL, please refer to #3 installation guide in Week 3 link on eCollege to set up the database.

1. Use the customers table inside of the salesordersexample database, and write a query statement to show all data records of the customers table.

2. Use the customers table inside of the salesordersexample database, and write a query statement to show data records from the CustFirstName, CustLastName, and CustCity columns.

3. Use the employees table inside of the salesordersexample database, and write a query statement to show the employee's EmployeeID, EmpFirstName, EmpLastName, and EmpPhoneNumber, if she's living in the area with 98413 as the zip code.

4. Use the employees table inside of the salesordersexample database, and write a query statement to show each employee's EmployeeID, EmpFirstName, and EmpLastName. Also, in the report, create a new column called EmpAge, in which you use a date expression to calculate and show the employee's age today. (Hint: A similar analysis can be found in the developer guide in Week 5 link on eCollege.)

Please save the query statements for questions above into a Word document. Also, get a screen capture of the data report after you execute each query in MySQL, and save the screen captures into the Word document as well. Please name the Word document as "MyProject1

Project 2 Instructions
You need the salesordersexample database to complete this project. If you have not installed the database in MySQL, please refer to #3 installation guide in Week 3 link on eCollege to set up the database.

1. Use INNER JOIN to create a report. In this report, list each vendor's name and the name of each product the vendor has supplied to our company. You should use the Vendors table and the Product_Vendors table in the database to complete this task.

2. Use INNER JOIN to create a report. In this report, list each customer's first name, last name, and the dates when he or she places orders to us. You should use the Orders table and the Customers table in the database to complete this task.

3. Use OUTER JOIN to create a report. In this report, list the name of the products that have never been ordered by far. You should use the Order_Details table and the Products table in the database to complete this task.

4. Use UNION to create a report. In this report, list both customers' and employees' first name, last name, street address, city of residence, state of residence, and zip code. You should use the Customers table and the Employees table in the database to complete this task.

Please save the SQL query statements for each question into a Word document. Also, get a screen capture of the data report after you execute each query in MySQL, and save the screen captures into the Word document as well. Please name the Word document as "MyProject2.

Verified Expert

In the given document there are few question related to to the given case study. To solve these problem we should have proper knowledge of it.And we have also discussed about DATABASE and solve all queries.

Reference no: EM131298636

Questions Cloud

Describe the potential privacy problems : Describe the potential privacy problems that could arise in each of the following three areas of processing, and recommend the corrective action.
How the arrival of inexpensive broadband has changed the ppf : Cheap broadband's a winner Inexpensive broadband access has created a new generation of television producers and the Internet is their native medium.
Greenhouse gas emissions : 1) Will the need to reduce greenhouse gas emissions such as carbon dioxide kill certain industries? 2) What happens to a utilities Marginal Costs (MC) as they are compelled to reduce carbon emissions?
Financial innovations increased : How have financial innovations increased the liquidity of home mortgages since the late 1970s? Has this increase in liquidity tended to increase or decrease the interest rate on home mortgages? Explain why.
Write a query statement to show all data records : Use the customers table inside of the salesordersexample database, and write a query statement to show all data records of the customers table.
Discuss how the actions of the federal reserve : Discuss how the actions of the Federal Reserve, specifically an increase or decrease in money supply, affect the other variables represented in the IS/LM model. Is this model a useful tool in setting U.S. monetary policy? Why or why not? Argue and..
Explain as much as necessary to get the point across : Should a company ever produce a good or service if the managers know it will lose money? Why or why not. Provide examples to support your response. Explain as much as necessary to get the point across.
Prepare a cash budget for october : Compute Profit Margin Ratio, Asset Turnover Ratio and ROI for this division of Atkinson Company - Discuss briefly about some of the advantages and disadvantages of ROI as a measure of divisional performance
Why the drought will lead to a rise in the price of bread : Explain why the drought will lead to a rise in the price of bread.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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