Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lookup with multiple rowes

Status
Not open for further replies.
Sep 22, 2013
18
US
Hello,

I am using SQL Server 2014 I have two tables one is the item master the other customer sales. In the item master I have a column call item and from the customer sales I have the following columns customer, salesitem, salesAmount. The primary table is item master I want to show the all items in the item master regardless if an item is sold I did a lookup, but I am only getting one row of the product only. I want to show the item with possible multiple customer sales. Any help will be appreciated. Thank you.
 
Please post a working example of both tables with data that relates, showing multiple customer sales.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top