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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query help

Status
Not open for further replies.

dvraggs

Technical User
Jan 30, 2002
22
0
0
US
hello, I have a table I take order. that table uses item key to look up item on other table. One order might appear twice because two items. this work great for everything i do, but look at orders with same items and different order amounts. I though about decode but there are over 100 itmes. any help would be great.

thanks
 
What is the question? From what you wrote, it looks like everything works fine. Good work.
 
the question is how to query single row with each item side by side like order#,item,item,item,amount
 
Oh, you need to build a crosstab query. It will sum up (or count) everything of each category. Yeah, crosstab query will do what you want.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top