Bradford would like to write a query that returns the averag…

Bradford would like to write a query that returns the average unit sales over the last 30 days for each of his bakery’s product types: cupcakes, muffins, and cookies. There are several flavors of each in the table, but the product types are identified in a CATEGORY column as “Cupcake,” “Muffin,” or “Cookie.” What should the last part of his query be, following the part shown below?​SELECT CATEGORY, AVG(UNIT_SALES) FROM PRODUCTS

You are working with a QUOTATIONS table that contains no rep…

You are working with a QUOTATIONS table that contains no repeating groups and has a primary key consisting of the SERVICE_CODE and SPECS columns. You realize that some other columns in the table functionally depend on either SERVICE_CODE or SPECS, but not both, whereas the rest depend on both. How should you improve this table?