Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

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

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91620705
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in DBMS

This assignment is a continuation of this solution the case

This assignment is a continuation of this solution The case study company has received the first report from its enterprise content management (ECM) consultant and now has a documented list of major content requirements ...

Assignment question - write and run sql statements to

Assignment Question - Write and run SQL statements to complete the following tasks Part A - DML 1. Locate the record in the vendor table that does not have a value for the attribute V_STATE 2. Find the customers whose ba ...

Database design amp development assignment -assignment

Database Design & Development Assignment - Assignment title - Design and Implement a Relational Database for a local Print and Ink Refill Business. Learning Outcome - Use an appropriate design tool to design a relational ...

Football association of zambia faz super leaguethe faz has

Football Association of Zambia (FAZ) Super League The FAZ has recently decided to reorganise their operations to support both existing and possibly expanded league operations in Zambia and part of preparation for the 201 ...

Question create an erd for the following scenarioa small

Question: Create an ERD for the following scenario. A small company ABC wants a database to keep track of internal company information. Â Given the following information create an ERD. The ABC Company has several departm ...

Question 1 describe 1nf 2nf 3nf2 explain why 4nf is a

Question: 1: Describe 1NF, 2NF, 3NF. 2: Explain why 4NF is a normal form more desirable than BCNF. The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA format.

Relational database exerciseyou have been assigned to a new

Relational Database Exercise: You have been assigned to a new development team. A client is requesting a relational database system to manage their present store with the anticipation of adding more stores in the future. ...

This is a starting out with visual basic programming

This is a starting out with visual basic programming problem, meaning its a basic programming nothing advanced. Question: Add a linq statement to the combo box text-changed event to dispaly the city field of the selected ...

Assignment task -write and run sql statements to complete

Assignment Task - Write and run SQL statements to complete the following tasks Part A - DML 1. Show the details of the products where the product code starts with '22'. 2. Display the vendor details from areacode 615. 3. ...

Case study problem 1 the case study company has experienced

Case Study: Problem 1 The case study company has experienced rapid growth in both the size of its client base and also in the services provided to clients. Unfortunately, the growth in data management policies, procedure ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As