Find the balance for customer George Williams

Assignment Help Database Management System
Reference no: EM132123780

Assignment Task -

Write and run SQL statements to complete the following tasks

Part A - DML

1. Show the details of the products where the product code starts with '22'.

2. Display the vendor details from areacode 615.

3. Find the balance for customer 'George Williams'.

4. Show the number of products from each vendor and display the vendor code if there are more than 2 products from the same vendor.

5. Display the vendor code, name, phone number and the number of products from each vendor.

6. Find the customers whose balance is zero.

7. List the name of the customers for whom we have invoices.

8. Show the name and cus_code of the customers for whom we DO NOT have invoices.

9. Find out how many times a customer generated an invoice.

Part B - DDL

1. Add a new attribute email_address varchar(30) to the customer table.

2. Add email_address = '[email protected]' for customer '10016'.

3. Delete the record for employee Edward Johnson from EMP table.

You are required to submit:

The SQL statements for each query, which should be copied from your SQLite3 Command Line and pasted into your submission file. If you type .echo on at the SQLite3 Command Line, SQLite will output your SQL statement with the results of the query making it easy to copy and paste both.

The screenshots of the results of the SQL statements which are to be copied from your SQLite3 Command Line and pasted into your submission file immediately after you execute the SQL query. If you used an output file please submit only the output file.

Attachment:- Assignment File.rar

Reference no: EM132123780

Questions Cloud

What hardware elements must be present to use bitlocker : How does the BitLocker feature in Windows 7 increase the security of your installation? What hardware elements must be present to use BitLocker?
Guidelines regarding the use of confidential company data : What policies could be put in place to ensure employees adhere to safe guidelines regarding the use of confidential company data?
Kanban cards to authorize movement of incoming parts : You make steering wheels for Tesla using Kanban cards to authorize movement of incoming parts.
Number of committees of persons : Let Cn be the number of committees of 3 persons selected from a group of n persons. Is the estimation Cn = o(n2) correct? Justify your answer.
Find the balance for customer George Williams : Assignment Task - Write and run SQL statements to complete the following tasks - Find the balance for customer 'George Williams'
Develop an informational handout which explains master data : Develop an informational handout which explains Master Data, the use of Master Data and the importance of Master Data. NOTE: This should not be written
Clear violation of privacy act : Argue why Wireshark should be outlawed and it is a clear violation of privacy act and then argue why it should not be out outlawed and that it is a vital resour
Analytic tools available to marketers for strategy developme : A critical examination of analytic tools available to marketers for strategy development seems to result in just three fundamental strategic monetary decisions
Equivalence regular expressions : The symbol = stands for equivalence regular expressions in the sense that both expressions denote the same language.

Reviews

len2123780

9/26/2018 11:40:47 PM

NOTES - This assignment requires you to use SQLite to complete the tasks listed below.Student can also use SQL Workbench or another software (if they are familiar) to complete the tasks. You are required to submit: The SQL statements for each query, which should be copied from your SQLite3 Command Line and pasted into your submission file. If you type .echo on at the SQLite3 Command Line, SQLite will output your SQL statement with the results of the query making it easy to copy and paste both. The screenshots of the results of the SQL statements which are to be copied from your SQLite3 Command Line and pasted into your submission file immediately after you execute the SQL query. If you used an output file please submit only the output file.

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