Display all columns from the Addresses table for those addresses that are located in New Jersey...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Display all columns from the Addresses table for those addresses that are located in New Jersey and have a value in the Line2 column (hint: not a null). Order the results by ZinCode in ascending order. Problem #2: Display all columns from the Products table for those products where the ProductName column includes the keyword "drum" and does not include the keyword "ludwig". Order the results by ProductID in ascending order. Problem # 3: Display the EMailAddress, column from the Customers table along with the # of orders associated with the customer (use an alias of # of orders') and the total orders value (use an alias of "Total Orders Value) for the customer. Only show those customers where the # of orders value is greater than one. Order the results in descending order by the # of orders. Hint: [order value = (temprice Quantity)-DiscountAmount]. Problem #4: Display the CategoryID and CategoryName columns from the Categories table that do not have any associated Products. **MUST USE A JOIN. Problem #5: Display the CategoryID and CategoryName columns from the Categories table that do not have any associated Products. **MUST USE A SUBQUERY. Problem #6: Display the EMailAddress column from the Customers table and all associated CategoryName's from the Category table. Order the results in ascending order by EMailAddress and CategoryName. Hint: You will be joining 5 tables Display all columns from the Addresses table for those addresses that are located in New Jersey and have a value in the Line2 column (hint: not a null). Order the results by ZinCode in ascending order. Problem #2: Display all columns from the Products table for those products where the ProductName column includes the keyword "drum" and does not include the keyword "ludwig". Order the results by ProductID in ascending order. Problem # 3: Display the EMailAddress, column from the Customers table along with the # of orders associated with the customer (use an alias of # of orders') and the total orders value (use an alias of "Total Orders Value) for the customer. Only show those customers where the # of orders value is greater than one. Order the results in descending order by the # of orders. Hint: [order value = (temprice Quantity)-DiscountAmount]. Problem #4: Display the CategoryID and CategoryName columns from the Categories table that do not have any associated Products. **MUST USE A JOIN. Problem #5: Display the CategoryID and CategoryName columns from the Categories table that do not have any associated Products. **MUST USE A SUBQUERY. Problem #6: Display the EMailAddress column from the Customers table and all associated CategoryName's from the Category table. Order the results in ascending order by EMailAddress and CategoryName. Hint: You will be joining 5 tables
Expert Answer:
Answer rating: 100% (QA)
Problem 1 SELECT FROM Addresses WHERE State NJ AND Line2 IS NOT NULL ORDER BY ZipCode ASC Problem 2 ... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these databases questions
-
How can organizations effectively execute their chosen strategies through the alignment of organizational structure, culture, incentives, and leadership styles to ensure coherence and commitment...
-
A certain train has 11 cars that are being lined up on a track. One of the cars is the engine, and another is the caboose. The engine will be the first car in line. The caboose will be the last car...
-
Use the following description of the operations of the RC_Charter2 Company to complete this exercise. ¢ The RC_Charter2 Company operates a fleet of aircraft under the Federal Air Regulations...
-
Examine the articles reproduced below and consider how the five C's discussed in the course have application in the present coronavirus pandemic. "To the extent that an environment characterized by...
-
The vapour pressure of a substance at 20.0DCis 58.0 kPa and its enthalpy of vaporization is 32.7 k] mol-1. Estimate the temperature at which its vapour pressure is 66.0 kPa.
-
Refer to Figure 10.42. A strip load of q = 43 kN/m2 is applied over a width, B = 11 m. Determine the increase in vertical stress at point A located z = 4.6 m below the surface. Given: x = 8.2 m. q...
-
P(-2.46 < z < 3.1) Find the indicated probability using the standard normal distribution. If convenient, use technology to find the probability.
-
A CVP graph such as the one shown below is a useful technique for showing relationships among an organizations costs, volume, and profits. Required: 1. Identify the numbered components in the CVP...
-
Discuss on Inventory models ( both dependent and independent ) and support the models with examples.
-
AG Mechanical is planning to acquire Foster Metal works. Foster's cost of equity is 12%; it is financed 80% by common equity and the remainder by debt at 7%. Foster's tax rate is 30%. Below is a...
-
Set up, but do not evaluate, the area of the inner loop of the limaon r=3-2sin8. (1 point) 15 5-2siney de O 15x/3 24x13 O 12x/3 IN3-2sin@)de R/3 O 12x/3 TN3-2siney de /3 O 5x/3 TN3-2sine) de 4x13
-
Roger Inc. owns 90% of the common shares of Soldier Inc. For the year ended December 31, 20X4, Solider earned $20,000 of net income and paid $5,000 in dividends. What is the journal entry made by...
-
A brief biography of your inventor Your inventors main invention (and other inventions if applicable) How the invention(s) helped American economy, business, or citizens (its significance) Either an...
-
Janelle's parents filed a Free Application for Federal Student Aid (FAFSA) statement with her school's financial aid office. They were not able to demonstrate financial need, since both Janelle and...
-
Heartland Charities recently hired several accountants and started a department to supervise expenditures of its contributions. It did this because the state government recently passed several laws...
-
After discussing the details of the market segment you are targeting with your Marketing and Risk Departments, your team learned that consumers would prefer access to longer loan terms. The Risk...
-
Explain two problems that PU may encounter when opening a campus in Country B.
-
Evaluate the line integral, where C is the given curve. C x 2 dx + y 2 dy, C consists of the arc of the circle x 2 + y 2 = 4 from (2, 0) to (0, 2) followed by the line segment from (0, 2) to (4, 3)
-
Jim is fired from his job as a waiter and decides to take an extended trip to Europe. After touring Europe for 3 months, Jim returns to look for a new job as a waiter. Are his job-hunting expenses...
-
Frederick (Freddy) Freeweights (age 42) owns and operates a health club called ''Treadmills West.'' The business is located at 4321 Arnold Street, Alpine, CA 91901. Freddy had the following income...
-
In the 2012 tax year, Michelle paid the following amounts relating to her 2010 tax return: Tax deficiency..........................................$5,000 Negligence...
-
Describe which characteristics of HR metrics and workforce analytics are likely to result in greater return on investment and organizational impact.
-
Why are information security and privacy important considerations in the design, development, and maintenance of an HRIS?
-
List and discuss the major information security and privacy threats to organizations.
Study smarter with the SolutionInn App