Comments are available to members only. Sign up or Log in to view these comments.
Main Topics
Browse All TopicsHi all you brilliant people!
i'm having this small problem here. i know the solution must be failry easy but my MySQL skills are quit basic.
So this is my problem.
I have a carpet productlist. Each carpet is available in certain sizes.
eg:
Artcode Sizes Description
AVG101 140x200 AvantGarde Cream
AVG101 170x240 AvantGarde Cream
AVG101 200x300 AvantGarde Cream
AVG101 300x400 AvantGarde Cream
AVG102 140x200 AvantGarde Red
AVG102 170x240 AvantGarde Red
AVG103 140x200 AvantGarde Blue
AVG103 170x240 AvantGarde Blue
AVG103 200x300 AvantGarde Blue
AVG104 140x200 AvantGarde Brown
AVG104 170x240 AvantGarde Brown
AVG104 200x300 AvantGarde Brown
AVG104 300x400 AvantGarde Brown
AVG104 400x500 AvantGarde Brown
Basicly i need a query that will give me a result with 3 columns such as this.
Artcode Description Available Sizes:
AVG101 AvantGarde Cream 140x200 ; 170x240 ; 200x300 ; 300x400
AVG102 AvantGarde Red 140x200 ; 170x240
AVG103 AvantGarde Blue 140x200 ; 170x240 ; 200x300
AVG104 AvantGarde Brown 140x200 ; 170x240 ; 200x300 ; 300x400 ; 400x500
I'm not sure if MySQL has a concat sum function.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: routinetPosted on 2008-08-23 at 12:49:08ID: 22298232
Comments are available to members only. Sign up or Log in to view these comments.