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

  Convert data model to a set of virtual windows

You are to design a prototype for a hospital management system. Design a data model for this system, Convert the data model to a set of virtual windows.

  Make a select query with a calculated field for age

Make a select query with a calculated field for age,  to list only guests between 20 and 40 years of age! Make sure to enter a range of ages in your table so you have something to display.

  Describe entity-relationship model

Describe the entity-relationship model. How are entities, relationships, and attributes represented in this model? What is a composite entity? Describe the approach to diagrams that uses a crow's foot.

  Development of an er diagram and database implementation

Development of an ER Diagram and Database Implementation- To give you practical experience in using Entity-Relationship and Relational Database modelling techniques

  Identify the data types and sizes for all attributes

Select database management system (Oracle, SQL Server, MYSQL, etc) and identify the data types and sizes for all attributes

  How much supervisory wages and factory supplies

How much supervisory wages and factory supplies cost would NOT be assigned to products using the activity-based costing system - How much supervisory wages and factory supplies cost would be assigned to the Batch Processing activity cost pool?

  Create a detailed erd using the entities and attributes

Create a detailed ERD using the Entities and Attributes for Driver's Log document found on the Huffman Trucking Intranet site. Use Microsoft® Access® to create the preliminary

  What is the name for a unique key

What is the name for a column that uniquely identifies a record? What is the name for a unique key that is constructed from multiple columns

  Activity-based costing approach

Compute the predetermined overhead rate under the current method, and determine the unit product cost of each product for the current year.

  Write names and e-mail addresses from database

Suppose a database has tables given below. Write the names and e-mail addresses for all customers who have had stove repair which cost more than $50.

  Security plan for the database

This project will help you apply all the concepts covered in this course for a given scenario. Vince Roberts runs a vintage record shop in the University district. Security plan for the database

  Design and build a small database application

In Word, identify a potential database application. It should be based on data you understand well, such as student data (refer to text), a hobby (see Lesson 8), or a set of data you use on the job. When you have made your choice, proceed to Step ..

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