Exercises TAL Distributors Use SQL and the TAL Distributors database (see Figure 1-2 in Chapter 1)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Exercises TAL Distributors Use SQL and the TAL Distributors database (see Figure 1-2 in Chapter 1) to complete the following exercises. If directed to do so by your instructor, use the information provided with the Chapter 3 Exercises to print your output or save it to a document. 1. List the item number, description, and price for all items. 2. List all rows and columns for the complete ORDERS table. 3. List the names of customers with credit limits of $10,000 or more. 4. List the order number for each order placed by customer number 126 on 10/15/2015. (Hint: If you need help, use the discussion of the DATE data type in Figure 3-16 in Chapter 3.) 5. List the number and name of each customer represented by sales rep 30 or sales rep 45. 6. List the item number and description of each item that is not in category PZL. 7. List the item number, description, and number of units on hand for each item that has between 20 and 40 units on hand, including both 20 and 40. Do this two ways. 8. List the item number, description, and on-hand value (units on hand * unit price) of each item in category TOY. (On-hand value is really units on hand * cost, but there is no COST column in the ITEM table.) Assign the name ON_HAND_VALUE to the computed column. Exercises TAL Distributors Use SQL and the TAL Distributors database (see Figure 1-2 in Chapter 1) to complete the following exercises. If directed to do so by your instructor, use the information provided with the Chapter 3 Exercises to print your output or save it to a document. 1. List the item number, description, and price for all items. 2. List all rows and columns for the complete ORDERS table. 3. List the names of customers with credit limits of $10,000 or more. 4. List the order number for each order placed by customer number 126 on 10/15/2015. (Hint: If you need help, use the discussion of the DATE data type in Figure 3-16 in Chapter 3.) 5. List the number and name of each customer represented by sales rep 30 or sales rep 45. 6. List the item number and description of each item that is not in category PZL. 7. List the item number, description, and number of units on hand for each item that has between 20 and 40 units on hand, including both 20 and 40. Do this two ways. 8. List the item number, description, and on-hand value (units on hand * unit price) of each item in category TOY. (On-hand value is really units on hand * cost, but there is no COST column in the ITEM table.) Assign the name ON_HAND_VALUE to the computed column.
Expert Answer:
Answer rating: 100% (QA)
List the item number description and price for all items SELECT itemno description priceFROM item Li... View the full answer
Related Book For
Concepts of Database Management
ISBN: 978-1285427102
8th edition
Authors: Philip J. Pratt, Mary Z. Last
Posted Date:
Students also viewed these programming questions
-
Question 7 Consider the following part of a code: Not yet answered Initial begin clock = 1'b0; Marked out of 1.00 P Flag question repeat (30) # 10 clock = -clock; end The total number which this code...
-
Question 1 1 When calculating future value the the interest rate the smaller the future value amount Points 3 Question 2 2 interest is interest that is applied a number of times during the term of a...
-
7 day meal plan DAY 1 Breakfast 2 slices of whole grain bread toasted and smeared with 1 tablespoon nut butter almond butter peanut butter etc 1 large or orange Lunch 2 cups of mixed veggies 1 2 cup...
-
Assume that a security is selling at INR 217 and American call and American put options are available on the stock with 3 months maturity and an exercise price of INR 210. The call is selling at INR...
-
Sports Emporium has two operating segments: sporting goods and sports apparel. The income statement for each operating segment is presented below. Required: 1. Complete the % columns to be used in a...
-
In continuing their discussion from Question 13, Mike says that even in the case of a capital deficiency, all cash should still be distributed on the basis of cap ital balances. Is Mike correct?...
-
Plaintiff visited South Chicago on January 10, 2008, seeking a new 2008 Nissan Versa (Versa) with manual transmission, anti-lock brakes, and other features. He was told by the employees of South...
-
Olive Corporation was formed and began operations on January 1, 2014. The corporations income statement for the year and the balance sheet at year-end are presented below. The corporation made...
-
Explain how specific institutions of capitalism can harness self interest to benefit the common good and improve economic outcomes in society at large. Explain what a social dilemma is and how it...
-
Looking for the financial analysis for Tesla for the first quarter Specifically, you must address the following rubric criteria: Financial Analysis: For this section, you will start with calculating...
-
Create an effective cover letter. Compose an effective resume. Resume and Cover Letter Using the job you identified in Module 1, following the guidelines from the above readings, write a resume and a...
-
Minister Kelvin Smith and his wife Tracy are ordained in the local Baptist church. In the current year, Kelvin receives payments of $150,000 from the church for his services ($60,000-compsensation...
-
Calculate the following financial ratio for this company: . Average Accounts Payable Payment Period (Days Payable Outstanding)using 365 days per year Cash Accts. Receivable $1,000.0 Accounts payable...
-
Company: Nordstroms (Department store chain) . Identify symptoms of a problem for Nordstroms, analyze those symptoms in order to identify root causes. Use all information to wr1te a concise problem...
-
Why might a firm lower price during peak demand? Provide an example.
-
How do performance management practices vary across different organizational contexts and industries, and what lessons can be learned from best practices and case studies in performance management...
-
A tenant has a lease which provides for annual rent escalations of 3% per year for each year after the first year. The rent for the first year is $50,000. How much is the rent in year 4?
-
Explain the differences and similarities between fringe benefits and salary as forms of compensation.
-
List the changes you would need to make in your answer to Question 7 if you must store the year and the semester in which a student took a course and received a grade.
-
Why is increased efficiency an advantage in a distributed database?
-
Describe the purpose of the UNION command in relational algebra.
-
The lightweight wheel on a road bike has a moment of inertia of 0.097 kg m 2 . A mechanic, checking the alignment of the wheel, gives it a quick spin; it completes 5 rotations in 2.0 s. To bring the...
-
We can model a small merry-go-round as a uniform circular disk with mass 88 kg and diameter 1.8 m. How many 22 kg children need to ride the merry-go-round, standing right at the outer edge, to double...
-
The engine in a small airplane is specified to have a torque of 500 N m. This engine drives a 2.0-m-long, 40 kg single-blade propeller. On startup, how long does it take the propeller to reach 2000...
Study smarter with the SolutionInn App