table linking problem - Mailing list pgsql-general

From ¼B¤tºÆ
Subject table linking problem
Date
Msg-id ankfrn$iib$1@news.hub.org
Whole thread Raw
Responses Re: table linking problem  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Re: table linking problem  (Richard Huxton <dev@archonet.com>)
Re: table linking problem  (Holger Klawitter <lists@klawitter.de>)
List pgsql-general
Hi all,
    I have two table, follow :

content
content_id    |    material_id    |    percentage
-----------------------------------------------------
    1                        1                    100%
    2                        2                    63.5%
    2                        3                    31.5%
    2                        4                        5%

material
material_id    |    name
------------------------------------------
    1                    COTTON
    2                    POLYESTER
    3                    NYLON
    4                    SPANDEX

The Question is,
How can I get like this :
100% COTTON
63.5% POLYESTER 31.5% NYLON 5% SPANDEX

Can I return the string like this ?
Thanks.



pgsql-general by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: Re: [HACKERS] Large databases, performance
Next
From: Larry Rosenman
Date:
Subject: [Fwd: FOUND VIRUS IN MAIL from ]