For Question 4, you need to get the sales by invoice month a…

For Question 4, you need to get the sales by invoice month and invoice year, sorted in ascending order by the invoice month and the invoice year.   If you’re not sure how to put the query together, follow the steps below, otherwise jump to the question in the last line: 1)Can you use the same join as in the previous question? If so, proceed to the next step. If not tweak the join. 2) To get the total sales by invoice month and invoice year, you need to aggregate by those fields.  You can obtain the invoice month and year by using the MONTH() and YEAR() functions on the invoice_date.  Use GROUP BY on the invoice month and year and aggregate (sum) the product of price per unit and units sold. Use the alias ‘sales’ for this aggregated column. 3) Sort the output by ascending order of the invoice month and invoice year.  4) ROUND the sales to a whole number Part of the output will look similar to this (#Sales are fake though) : Question: Get the sales by invoice month and invoice year, sorted in ascending order by invoice month and year. Round the sales to whole numbers. Observe the output. Across which months did the sales show continuous increase across 2023 and 2024?  

For Question 1, you need to get the total sales by product f…

For Question 1, you need to get the total sales by product for a specific year, sorted in descending order of total sales.  If you’re not confident in how to approach this, follow the directions below, otherwise jump to the question in the last line: 1. Look at the data in the orders, items and products table.  Note that there are columns for units sold and price per unit. To get the sales, you need to multiply the units sold and price per unit. You are also asked to filter for 2024. Look closely and identify the date column that you can use for filtering by year.  These columns are spread across multiple table. So, figure out which tables you need to join together and which columns you need, to join these tables. 2.  Write a query to join the tables using the appropriate join columns ( you can use inner joins) and output the SUM of units sold *price per unit. If you did this correct, without any filtering, you will get the number 3704843.40  3. Filter the results in the above query for the year 2024 using the appropriate clause.  4. To get the total sales by product name, you need to aggregate the sales by the appropriate column. Modify the above query using the appropriate GROUP BY column and output that group by column, along with the sum of price per unit * units sold. Use the alias ‘total_sales’ for the aggregated column. 5. Sort the output by descending order of the total sales.  The output will look similar to this (Values are fake though) :   Question: Write a query to get the total sales by product names for the year 2024. What is the product with the highest sales and what is the total sales amount for that product for that year?

EC 3) In the supplemental e-reading article, Alive and Well,…

EC 3) In the supplemental e-reading article, Alive and Well, anthropologist Bonnie Bade describes how, after evaluating their patients to determine potential causes of illness, many Mixtec healers combine                                  with nonbiomedical treatment such as herbal remedies and sweat baths.

Capri, Inc issues $850,000 of 11% bonds that pay interest se…

Capri, Inc issues $850,000 of 11% bonds that pay interest semiannually and mature in 10 years.      Compute the bond issue price assuming that the prevailing market rate of interest is 10% per year compounded semiannually.     2.  Is this bond issued at a premium or a discount?    

The frame shown in the figure has smooth slotted pin support…

The frame shown in the figure has smooth slotted pin support at C and pin supports at point A and E.  A couple moment (500 lb-ft) is applied on member AB, a distributed force (750 lb/ft to 1500 lb/ft) is applied on member BC, and a force (1000 lb) is applied at joint D.  The forces and couple moments are applied such that the frame is in the equilibrium state.  Determine the forces at point B, C, E.  Ignore the weight of the members.