What does the following query return

Assignment Help Computer Engineering
Reference no: EM132221718

Assignment

Consider the following relational schema: employee(empId, empName, empDept) customer(custId, custName, salesRepId, rating) salesRepId is a foreign key referring to empId of the employee relation.

Assume that each employee makes a sale to at least one customer. What does the following query return?

SELECT empName FROM employee E WHERE NOT EXISTS (SELECT custId FROM customer C WHERE C.salesRepId = E.empId AND C.rating <> `GOOD`);

(A) Names of all the employees with at least one of their customers having a ‘GOOD' rating.

(B) Names of all the employees with at most one of their customers having a ‘GOOD' rating.

(C) Names of all the employees with none of their customers having a ‘GOOD' rating.

(D) Names of all the employees with all their customers having a ‘GOOD' rating.

Reference no: EM132221718

Questions Cloud

Describe how digital signatures work : BN305 : Analyse and write a report on how the confidentiality and integrity is achieved in SSL communication, and how server & client agree on one cipher suit?
Write an executive summary of your study : Write an executive summary of your study. In the summary, include the ANOVA test results, your hypothesis and its resolution, and the implications.
How do the basic chemicals cycle through your ecosystem : Consider the meaning of the term "ecology." Select an area you would like to focus on (your favorite place or where you live). How do the basic chemicals.
How is population growth related to the problem : Use the Internet to find an environmentally related problem that is happening in your area. Present information about the history behind this problem including.
What does the following query return : Assume that each employee makes a sale to at least one customer. What does the following query return?
Discuss given problem related to environment and population : In order to understand environment and population the understanding of organizing and categorizing biodiversity, biomes, and ecosystems will contribute to the m
Create an application method holds two double variables : Create an application named Percentages whose main() method holds two double variables.
Explain the idea of limits to population growth : Describe the historical pattern of growth of the worldwide human population since our origin. Include in this historic overview the changes that have happened.
Designing an efficient regex in order to extract the data : FIT5196: Designing an efficient regex in order to extract the data from the file

Reviews

Write a Review

Computer Engineering Questions & Answers

  What makes it interesting from an operations management

What do you already know about this topic and what research questions do you expect to answer?

  How to adapt for large-scale transnational it projects

What aspects of your project communications planning would you adapt for large-scale transnational IT projects in that the project teams and other stakeholders are geographically dispersed (say in India, Canada, China and Brazil) and having differ..

  Determine the potential impact of each hazard or threat

Determine the potential impact of each hazard, threat, or peril by: Estimating the relative severity of each hazard, threat, or peril.

  What is the memory operations dominate execution time

What is  the memory operations dominate execution time

  Evaluate how ericsson benefitted from amazon web services

cloud computing is defined by cearly and phifer in their case study titled case studies in cloud computing as a style

  Will you want an int or float or double

Last step is to ask the user if they want to continue doing another operation. Ask them to press a ‘y' for yes and ‘n' for no.

  Write your own algorithm for computing square roots

Develop and write your own algorithm for computing square roots. One way to approach this is by guessing and testing until a good approximation is found.

  Explain the concepts of object orientation methodology

Explain the concepts of object orientation methodology. Describe the activities in each phase of the system development life cycle.

  Write the following r functions using nested loops

rectangleWithBorder(m, n) that displays a block of characters that is m rows by n columns in dimension. The squares on the border of the block should be zeros.

  Determine what is a credible web site

As we said in the chapter, computer science is about people. What general rules do you use to determine what is a credible Web site?

  Write a program that accepts any number of monthly sales

Write a program that accepts any number of monthly sales amounts. Display the total of the values. Display a report showing each original value entered.

  Discuss why clock skew might introduce differences

Briefly discuss why clock skew might introduce differences in the thumbprints of a connection.

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