1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
hjlf
4 years ago
8

Create a view named product_summary that uses the view you created in question 4. This view should return summary information ab

out each product. Each row should include product_name, order_count (the number of times the product has been ordered) and order_total (the total sales for the product).
Computers and Technology
1 answer:
kumpel [21]4 years ago
3 0

Answer:

Following are the Query to this question:

/*creating view product_summary */

CREATE VIEW product_summary AS

SELECT product_name, COUNT (order id) As order_count,

/* selects columns names */

SUM(item_total) AS order_total  /* add values */

FROM order_item_products   /* table name order_item_products*/

GROUP BY product name;

Explanation:

Creating view description can be described as follows:

  • In view creation "CREATE VIEW' command is used, which creates its view "product_summary".  
  • In this creation, the columns are used, which returns the view that will come from the "SELECT" command.
  • In this "FROM" command is uses the table, in which all "order_count" and "order_total" manipulate columns, use the "AS" command is used, which gives all the existing values, and it also uses the group by, which operates each product.
You might be interested in
Which ofthe following is not a guided medium?
melomori [17]

Answer: 4. Atmosphere.

Explanation:

All the other 3 options Twisted pair, Fiber Optic Cable,Coaxial Cable comes under guided media also known as bounded media.While Atmosphere doesn't come under this category.It is an unbounded media.The signal is not bounded in atmosphere while in other 3 options the signal is being transmitted through a wire.

7 0
4 years ago
What is remote assistance?
Slav-nsk [51]

Answer:

Quick Assist, Windows 10 feature, allows a user to view or control a remote Windows computer over a network or the Internet to resolve issues without directly touching the unit. It is based on the Remote Desktop Protocol.

Explanation:

.....

3 0
3 years ago
A manufacturing company produces products. The following product information is stored: product name, product ID and quantity on
denis23 [38]

Answer:

b

Explanation:

took the test a while back

8 0
3 years ago
Which of the following is an example of an analog medium?
andriy [413]

Answer

Cuneiform

Explanation

Cuneiform was mode or a system of writing which used a wedge-shaped stylus to make impressions on a clay surface, and also on stone, metal, and wax. Most of the clay tablets were sun-baked, making surviving tablets very fragile. It was  first developed by the ancient Sumerians of Mesopotamia and it was used to record daily events, trade,and literature on clay tablets.

3 0
3 years ago
Read 2 more answers
How to connect canon printer to computer?
denpristay [2]
<span>Step 1Determine what type of connection you need for your computer and printer. If you see a large rectangular connection on your printer it is a parallel printer, and you will need to make sure you have a parallel port on your computer. This connection will be long and rectangular, and it may be red in color. If your Canon printer has a small square connection on the back it is a USB printer, and you will need to look for a flat slot on your computer to hook it up.Step 2Connect the printer and computer. If you are working with a parallel printer connect the large end of the cable to the back of the printer and the smaller end to the computer. If you have a USB printer, connect the square end of the cable to the back of the printer and the flat end to a free USB port on your computer.Step 3Turn on your printer and the computer. Insert the print cartridges that come with the printer. Watch the lower right-hand corner of your computer screen for a "found new hardware" message. This is your indication that the operating system has found your new printer and is installing the proper driver for it.Step 4Insert the CD that comes with your printer, if you are prompted to do so. If your operating system was unable to find a suitable driver it will prompt you for the CD. Keep your CD handy anyway, because you will need it to install the printer utilities.Step 5Insert the CD and allow it to install your printer utilities. After the utilities are installed you will be prompted to clean and align the print heads on your new printer. After the print heads have been aligned your new Canon printer will be ready for use.hope this helps</span>
7 0
3 years ago
Other questions:
  • "So far this month you have achieved $100.00 in sales, which is 50% of your total monthly goal. With only 5 more workdays this m
    8·2 answers
  • What is the maximum number of different codes that can be represented in 2 bytes?
    13·1 answer
  • Web page typically contains _______, which contains the formatting instructions for displaying the web pag
    12·1 answer
  • I need help making this table in html code I have some of chart done but idk where to go after the 6:30pm part
    13·1 answer
  • 5. Which of the code excerpts below correctly links to an element with the id "awesome”.
    14·2 answers
  • When writing about environment concerns, which topic would demonstrate civic-mindedness on a global scale?
    11·2 answers
  • Write a method called makeStars. The method receives an int parameter that is guaranteed not to be negative. The method returns
    6·1 answer
  • What the best option if you cant show your PowerPoint presentation at all
    6·2 answers
  • Which of the following is step 5 of the mail merge process?
    5·2 answers
  • Explain mportance of using Microsoft Excel in pharmaceutical science​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!