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

  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