output query on many to many relationship into several columns - Mailing list pgsql-sql

From ssylla
Subject output query on many to many relationship into several columns
Date
Msg-id 1354010394000-5733692.post@n5.nabble.com
Whole thread Raw
List pgsql-sql
Dear list,

assuming I have the following n:n relationship:

t1:


t2:


intermediary table:
t3


How can I create an output like this:






--
View this message in context:
http://postgresql.1045698.n5.nabble.com/output-query-on-many-to-many-relationship-into-several-columns-tp5733692.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



pgsql-sql by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Using regexp_matches in the WHERE clause
Next
From: ssylla
Date:
Subject: select on many-to-many relationship