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

  Prepare a document containing the logical design

State any assumptions you make about the problem, especially those required for correct interpretation of your diagram.

  Analyze your rationale behind the design of your dfd

Explain your rationale behind the design of your E-R Diagram. Create a database schema that supports the company's business and processes.

  Describe the purpose of a database

Why do today's Internet Web applications and smartphone apps need databases?Describe the purpose of a database.

  Write the 10 cardinalities for entity relationship diagram

Write the 10 cardinalities that are appropriate for the ERD (Entity Relationship Diagram)

  Create sql statements for the scenarios

Create SQL statements for the following scenarios. Your response should include SQL statement, output and any other assumptions you have made to arrive at the solution. Please provide a single SQL query for each problem.

  Identify functional dependencies and derive candidate keys

Display the origin, destination, departure time from origin, and arrival time at destination for all flights that occur in the same time zone.

  Write a PLpgSQL function that takes a staffs id

PostgreSQL Database System Assignment - Project 2 PLpgSQL. Please write a PLpgSQL function Q2(staff_id integer) that takes a staff's id as parameter

  Executing well-planned strategy-manage technology solution

You have a company, specializing in managing technology solutions. you have ben just hired by big firm to execute a well-planned strategy.

  Questions related to database system

Why use Databases? - Data Vs. Information  -Database Management System (DBMS) - Role & Advantages of DBMS.

  Kudler fine foods it security report and presentation

Learning Team Instructions- Draft the security considerations for each phase of the systems development process.

  Do a critical analysis of the tasks

Write a research article in IEEE Format describing the solution to the scenario given in Part-A. The research article can be approximately 2500 words.

  Write a pl-sql stored function that takes username as input

Write a PL/SQL stored function that takes username as input and returns number of documents that user has permissions to view.

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