Perform an inner join on tables books and sources.

Assignment Help Database Management System
Reference no: EM13949861

Use the attached WEEK2_ACCESS2000.mdb database

I just need the SQL code, which can be cut and pasted into a word document.

1. Perform an inner join between the BOOKS table and the ORDER_LINES table. Show the titles from the BOOK table and quantity column from the ORDER_LINES table

2. Perform an inner join between tables CUSTOMERS and ORDERS (on the customer_numb column), joining on the customer_numb column. Find the customer first and last name where the order_date is between 11/1/1999 and 1/1/2000.

Order by the order_date.

NOTE: Don't forget to surround the dates with # signs. For example ...WHERE orders.order_date Between #11/1/1999# And #1/1/2000#

HINT: Basically, fill in the blanks below to answer the question.

SELECT ____, _____ (if you'd like, you can select more than just the customer first and last names)
FROM ________ INNER JOIN ___________ ON ____. ____ = ____. _____

WHERE _______ between ______ and _______

ORDER BY _____;

3. Perform an inner join on tables BOOKS and SOURCES. Find the source cities for publisher_name "Random House" using the LIKE command to restrict record selection. I'm purposely not telling you which field to do the JOIN on, but its obviously got to be the same field in each table (there's only one field that meets that criteria. You can click on TOOLS and then RELATIONSHIPS in Access to get a visual look at how the two tables are related (the line connecting the tables shows how the primary and foreign key relate between the two tables & the columns that the line connects are obviously the columns you'd want to do your JOIN on)

4. Perform a Left Outer Join using tables BOOKS and ORDER_LINES. Show all the ISBNs in the BOOKS table and any associated ISBNs in the ORDER_LINES table.

5. Perform a Left Outer Join using tables BOOKS and ORDER_LINES. Show the titles from the BOOKS table that don't have ISBNs that appear in the ORDER_LINES table.

6. Perform a UNION of two tables, customers and sources, selecting customer_state and source_state into one column.

Attachment:- WEEK2_ACCESS2000.zip

Reference no: EM13949861

Questions Cloud

Review the balance sheet and income statement : Stockholder's Equity - what type of stock does your company issue (par value, no par, etc.)? Does it issue Preferred Stock? Does it hold any Treasury Stock?
Metabolic rate during surgery : In induced hypothermia, the temperature of a particular organ, such as the heart, is lowered to reduce the metabolic rate during surgery. Cooling is achieved by circulating blood through a heat exchanger  outside  the  body.
Technical readiness and economic feasibility : Investigate the technical readiness and economic feasibility for each concept. Report your findings in an executive summary and a PowerPoint presentation with at least three references.
Annotated list of food-cooling : A written report providing your recommendations is required, including an annotated list of food-cooling Dos and Don'ts for restaurants supplied by the company with fish.
Perform an inner join on tables books and sources. : Perform a Left Outer Join using tables BOOKS and ORDER_LINES. Show all the ISBNs in the BOOKS table and any associated ISBNs in the ORDER_LINES table.
Closed-loop geothermal heat pump : A vertical, closed-loop geothermal heat pump is under consideration for a new 50,000-ft2 school building. The design capacity is 100 tons for both heating and cooling.
Calculate the moving averages for this time series : From the fourth quarter of 1997 to the first quarter of 1998, revenues declined. What happened on a seasonally adjusted basis? From the first quarter of 1998 to the second quarter of 1998, revenues increased. What happened on a seasonally adjusted ba..
Focus on international issues : Differences between managerial and financial accounting Product costing in manufacturing companies
Introduction of a regenerative heat exchanger : The Brayton refrigeration cycle is modified by the introduction of a regenerative heat exchanger. In the modified cycle, compressed air enters the regenerative heat exchanger at 350 K and is cooled to 320 K before entering the turbine. Determine, ..

Reviews

Write a Review

Database Management System Questions & Answers

  To what extent should you rely on the asn database

The ASN database and Web site were created and are maintained by two individuals. The database might be complete and accurate, or it might not be. To what extent should you rely on these data?

  Design and implement a small database application

Perform the conceptual database design using Entity-Relationship model. You must submit the Entity-Relationship diagram of your database and develop queries in the target DBMS

  Design tool for relational databases

Entity relationship model is in wide use as a design tool for relational databases. Why do you think designers have chosen this model, and what makes it an effective design tool?

  Prepare the first-stage allocation of overhead costs

Prepare the first-stage allocation of overhead costs to the activity cost pools and prepare an action analysis report in good form

  Create a new microsoft access database named drycleaning

Create a new Microsoft Access database named DryCleaning. Add a table named Customers. In Microsoft Word, type the SQL script that you would use to create the table. Include the following fields: CustomerNumber (AutoNumber, Primary Key, required)

  A multinational tour operator agency has gained new

a multinational tour operator agency has gained new business growth in the north american market through the use of

  Convert an erd to a relational schemacovert the extended

convert an erd to a relational schemacovert the extended entity relationship diagram eerd for orthopedic alliance of

  Create a relational database using ms access

Create a relational database using MS Access

  Create a mysql database

Create a Database and modify your script to reference your Database. Download the tutorial Creating a Database in MySQL Omnymbus Environment from the folder in Doc-Sharing titled Omnymbus Tutorial Files. Follow the steps to create a database in MyS..

  Referential integrity constraint prevent from data inserting

What actions does a referential integrity constraint prevent from occurring when data is inserted in a table that contains this constraint?

  Explanation of interfaith sharing

The point is to foster understanding between different faiths through films. Also, a museum exhibit that originated in Israel is now touring major cities around the world for the last four years.

  What are the limitations of conventional approach

1. What are the limitations of conventional approach of managing data? Explain.2. For what record size will clustering be of no benefit to improve performance? Can a table have clustering on multiple fields simultaneously?

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