Computer Science Homework Solutions
Problem
#156143

A SQL Query to List Customers

A SQL query to list customers who did not have an order between 03/01/97 and 03/07/97

I have attached the two tables to be used. The query needs to output only those employees (employeeID, FirstName, LastName) if there is not an order date bewtween 03/01/1997 and 03/07/97.I need a sub-query used and no joins. I need the employee only to show up once.

Attached file(s):
Attachments
Query 6.doc  View File
Solution
What is this?
By OTA - Overall OTA Rating
Yanfang Li, PhD - 4.9/5
Purchase Cost Now
$2.19 CAD (was ~$11.97)
Included in Download
  • Plain text response
  • Attached file(s):
    • SQLQuery1.sql
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • Outer Join - I have attached a Word document defining the dbo.Orders and dbo.Employees tables (Northwind database). The needed query is: List the EmployeeID, LastName, and FirstName of all employees who did not t ...
  • SQL Queries - What is the capacity of a particular airplane type? - A small airport: We require a data base for a small airport. The data base should track airplanes, pilots, hangars, airplane types, mechanics and airplane owners. The airport maintains the usual d ...
  • SQL - I am seeking help with solving several SQL statements. I am specifically looking for the code that goes with these problems. **First Problem** Employee table contains the following information: ...
  • Questions 1-7 answers provided need SQL's for each. - With the file attached please answer in SQL form the following. Thanks... 1. Which employees (by name) have degrees? (the "answer" is Smith, Johnson and Williams) SELECT at least the employee firs ...
  • Inspect its relationships for any referential integrity violations. - Please answer the attached questions. Referential Integrity Check Question 1 - Given the following data types of some table fields and the simple schema of the relational database they are a par ...
Browse