Referring to the diagram above, which SELECT statement would appropriately display the customer's name and inventory description of each item they have purchased. Make sure that you don't have duplicate rows. a.   SELECT DISTINCT CustomerName, Description. b.   SELECT TOP CustomerName, Description. c.   SELECT CustomerName, Description LIMIT 1. d.   SELECT CustomerName, Description.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter8: Advanced Data Handling Concepts
Section: Chapter Questions
Problem 17RQ
icon
Related questions
Question
Referring to the diagram above, which SELECT statement would appropriately display the customer's name and inventory description of each item they have purchased. Make sure that you don't have duplicate rows.
a.  
SELECT DISTINCT CustomerName, Description.
b.  
SELECT TOP CustomerName, Description.
c.  
SELECT CustomerName, Description LIMIT 1.
d.  
SELECT CustomerName, Description.

Select the correct option. 

Customer
Sales
Sales_Inventory
Inventory
* CustomeriD
* SalesinvoicelD
Y SalesinvoicelD
Y ItemID
CustomerName
SaleDate
ItemiD
Description
Street
SalesPerson
Quantity
Color
City
CustomeriD
SoldPrice
VendorlD
State
QuantityOnHand
ListPrice
Transcribed Image Text:Customer Sales Sales_Inventory Inventory * CustomeriD * SalesinvoicelD Y SalesinvoicelD Y ItemID CustomerName SaleDate ItemiD Description Street SalesPerson Quantity Color City CustomeriD SoldPrice VendorlD State QuantityOnHand ListPrice
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L