Reference no: EM13949709
Using the database attached to Lecture 2, let's say you are interested (let's say as the business owner) to see how old the books are that people order (going by their publication date).
First, you'd need to create a query that would convert the order year into a decade and count the orders:
SELECT books.title, CInt(Left([publication_year],3))*10 AS DECADE, order_lines.quantity
FROM books INNER JOIN order_lines ON books.isbn = order_lines.isbn;
...The function "CInt() converts text values into integers (year is stored as a text value).
Anyhow, for participation credit, cut and paste the above SQL into a query in the Lecture 2 database. Name the query BOOK_DECADE.
Then, create the cross tab query following these steps:
in the queries TAB click: New then Cross Tab query wizard then OK
In "View", click "Queries" and then Select query BOOK_DECADE and click NEXT
Add the TITLE to "Selected Field and click NEXT
Highlight DECADE and click NEXT
UNCLICK "Yes, include row sums"
Click Quantity under "Fields:" and click "Sum" under "Functions:" and click NEXT
Then click FINISH
When you are done, cut and paste the SQL (for this query) and paste into a word document.
Attachment:- WEEK2_ACCESS2000.zip
Write a routine miscellaneous memo requesting action
: Directions: Write a work memo as described: Think of an idea you would like to see implemented in your job (e.g., a way to increase productivity, improve service, increase business, or improve working conditions.) Write a routine miscellaneous memo r..
|
How many francs does lee expect to receive on october first
: If the price of the shutters is set using the spot rate as of July 1, how many francs does Lee expect to receive on October 1? How many yen does he expect on October 1?
|
Mass flow rate of the co2
: Determine (a) the mass flow rate of the CO2, in kg/s, and (b) the mass flow rate of the cooling water, in kg/s.
|
What information should the proposed system
: What information should the proposed system exchange between the retail stores and headquarters?
|
Convert the order year into a decade and count the orders
: Using the database attached to Lecture 2, let's say you are interested (let's say as the business owner) to see how old the books are that people order (going by their publication date).
|
Two-phase liquid-vapor mixture
: Fix the state at the turbine exit: If the state is superheated vapor, determine the temperature, in 8F. If the state is a two-phase liquid-vapor mixture, determine the quality.
|
What arguments would you make for advance pricing agreement
: Suppose you have scheduled a meeting with an IRS representative. What arguments would you make for an advance pricing agreement that would permit the use of the $10 price?
|
What is the point estimate for the mean reduction
: What is the point estimate for the mean reduction in the diastolic reading after 2 weeks on this diet? (Give your answer correct to one decimal place.)
|
Expansion valve of a refrigeration system
: 1. Ammonia enters the expansion valve of a refrigeration system at a pressure of 10 bar and a temperature of 248C and exits at 1 bar. If the refrigerant undergoes a throttling process, what is the quality of the refrigerant exiting the expansion v..
|