Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose two queries are available as follows: 1. foodCategory contains FoodID, FoodName, Cost, SalePrice, and foodCategory 2. salesAndCostsByFoodID contains FoodID, SumOfCost, and SumOfSalePrice To determine

Suppose two queries are available as follows: 1. foodCategory contains FoodID, FoodName, Cost, SalePrice, and foodCategory 2. salesAndCostsByFoodID contains FoodID, SumOfCost, and SumOfSalePrice To determine gross margins, how should the queries be joined?

Question options:

join (inner) foodCategory and salesAndCostsByFoodID on FoodID

join (left outer) foodCategory and salesAndCostsByFoodID on FoodID

join (right outer) foodCategory and salesAndCostsByFoodID on FoodID

join (Cartesian product) foodCategory and salesAndCostsByFoodID

If EatFresh wanted to increases its gross margin on sales, it could sell more:

Question options:

appetizers

side dishes

meat and seafood

desserts

In addition to FoodWaste, the tables needed to determine waste with its description by food category by store by week are:

Question options:

FoodItem, WasteCode

ConversionCost, WasteCode,

ConversionCost, FoodItem

ConversionCost, FoodItem, WasteCode

Your assistant said the following: I can get the gross margins by food category, but when I try to compute the overall margin, I get syntax errors. You tell your assistant to:

Question options:

remove some attributes from a query

include more attributes in a query

add criteria to some of the attributes

remove criteria from some attributes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamental Accounting Principles

Authors: John Wild, Ken Shaw, Barbara Chiappetta

22nd edition

9781259566905, 978-0-07-76328, 77862279, 1259566900, 0-07-763289-3, 978-0077862275

Students also viewed these Accounting questions