Asked by Skyler Valantine on Jun 10, 2024
Verified
Kim is writing a SQL query that will pull a list of customers with outstanding orders and the sales rep for each order.What should the WHERE phrase say in her query?
A) WHERE Customer = SalesRep
B) WHERE OrderStatus = Pending
C) WHERE CustomerStatus = Active
D) WHERE SalesRep = Kim
OrderStatus
A descriptor or identifier used to indicate the current progress or stage in the processing or delivery of an order.
Pending
A status indicating that an action, process, or task has been initiated but is not yet completed or resolved.
- Understand the concepts and applications of SQL queries in managing databases.
Verified Answer
JB
James BaileyJun 16, 2024
Final Answer :
B
Explanation :
The WHERE phrase should specify the condition that filters for outstanding orders. OrderStatus = Pending would indicate that the order has not been fulfilled yet. The other options do not address outstanding orders.
Learning Objectives
- Understand the concepts and applications of SQL queries in managing databases.