Provide the statement necessary to answer the given queries

Assignment Help Database Management System
Reference no: EM13839593

Question: Consider the following tables in a relational database. Provide the appropriate statement necessary to answer the queries that follow. Primary keys are underlined.

CUSTOMERS (CUSTNO, CNAME, CADDRESS, BALANCE)

SALESPERSONS (SPNO, SNAME, DATE_EMPLOYED, SALARY)

SALES (INVOICENO, DATE, CUSTNO, SPNO)

ITEMS-SOLD (INVOICENO, ITEMNO, QUANTITY, QUANTDISCOUNT)

(a) List all salesperson numbers, salesperson names, and their salaries.

(b) List the addresses, balances, and invoice numbers of those customers who were sold merchandises in the database

(c) List customer name, invoice number and date for items that were sold by the salesperson "Jane Doe", with sales unit more than 100 units, and quantity discount less than 5%.

Reference no: EM13839593

Questions Cloud

Find a journal article of a longitudinal study : Find a journal article of a longitudinal study and outline the abstract. How could you change this study to a cross-sectional one?
What you know of the use of age as an independent variable : Here’s a statement of the results of an experiment. “As the sample got older, from 50 to 70 years, lung volume decreased.” Although this statement might be true, what might be one interpretation, given what you know of the use of age as an independen..
Which of the following best describes william penns vision : Which of the following best describes William Penn's vision for living in America?
Regression that specifies natural log of cars : Using the data file (LightUpTempF2015Short2.syz or the Excel equivalent)run a regression that specifies Natural Log of Cars= f(Natural Log of Price). Extract and specify the equation.
Provide the statement necessary to answer the given queries : List all salesperson numbers, salesperson names, and their salaries - List the addresses, balances, and invoice numbers of those customers who were sold merchandises in the database
What is a population? a group of organisms : What is a population? a group of organisms that occupy the same general area and all the abiotic factors that affect them a group of individuals of the same species that occupy the same general area a group of individuals of the same species that occ..
Explain the most pertinent aspects of the message : Identify two to three conflicts that could potentially arise with any one of the constituents and the strategies you would employ to resolve the conflicts. Prioritize and explain the most pertinent aspects of the message to be conveyed to each grou..
Discuss how you might be able to avoid the confounding : Propose a longitudinal study and a cross-sectional design being sure to identify the independent and dependent variables and discuss how you might be able to avoid the confounding that results from the presence of age in these quasi-experimental desi..
Choose one of the phylogenetic schemes : Choose one of the phylogenetic schemes and explain why you feel this one is preferable to the others a) Eukaria, Bacteria , Archaea b) Animalia, Plantae, Fungi Protista, Prokaryota c) Bacteria, Archaea, Animalia, fungi, plantea d) Animalia, Plantae, ..

Reviews

Write a Review

Database Management System Questions & Answers

  Criteria selecting a life-cycle model for the project

What criteria would you use in selecting a life-cycle model for the project?

  How is a sequential file different from a database

How is a sequential file different from a database? Describe any changes you would make to a sequential access code to make it work for a database

  Explain what information is available in relational database

Explain what information is available from relational database containing one relation with attributes Name, Employee identification number, and Address which is not available.

  He club keeps track of mail and telephone contact

you are working for country club with thousands of members. you have been tasked with designing a database to keep

  Use embedded sql and c or any programming language

Convert the example of GEOMETRY_OBJECTS given in section 11.1.5 from the functional notation to the notation given in Figure 11.2 that distinguishes between attributes and operations. Use the keyword INHERIT to show that one class inherits from an..

  The task in this project is to design a normalized database

the task in this project is to design a normalized database that could be used to collect and store information for a

  Convert table to 3nf and represent answer in dbdl

Convert the table to 3NF. Represent your answer in DBDL. (i.e. Give table name and fields. Underline the primary key. Draw an entity-relationship diagram showing all relationships.)

  Erp software and service industryoriginally the sap erp

erp software and service industryoriginally the sap erp software was developed for and implemented by mostly

  Advantages and disadvantages of joins and nested queries

One side effect of normalization is that you often need more than one table to get meaningful results. For example, you may have a table that includes a list of parts and the ID number for the vendor of each part. T

  Project on data management

Premiere Products is a distributor of appliances, house wares, and sporting goods. Since its inception, the company has used spreadsheet software to maintain customer, order, inventory, and sales representative data. Redundancy and difficulty in..

  Complete information-level design for set of requirements

A database at a college is required to support the following requirements. Complete the information-level design for this set of requirements. Determine any constraints you need that are not stated in the problem.

  Display the balance of the customer

Display the balance of the customer whose balance is the smallest. Display the id, the name, and the balance of the customer with the largest balance

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