Solved

Doing a crosstab query in postgreSQL

Posted on 2007-11-13
2
2,938 Views
Last Modified: 2008-01-09
I want to do a crosstab query in PostgreSQL. Can you please describe how to do this in postgreSQL?
0
Comment
Question by:Brian_Paavo
2 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 20282661
Same way as in any other ANSI SQL database.
What is your exact query and from which database system?
0
 
LVL 25

Accepted Solution

by:
Tomas Helgi Johannsson earned 500 total points
ID: 20334445
  Hi!

Here are two simple examples : http://www.java2s.com/Code/PostgreSQL/Table-Joins/CROSS-JOIN.htm

Regards,
  Tomas Helgi
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Convert Hierarchical query to ANSI Sql 6 428
custom pgsql help 11 206
Help decide on technology stack 3 111
Grouping certain rows together 18 82
Best database to use for Maps is PostgreSQL. This is an open source database. Comes as a package with most Linux OS. For more info visit the following site: http://www.postgresql.org/ (http://www.postgresql.org/) This requires some add-o…
Many developers have database experience, but are new to PostgreSQL. It has some truly inspiring capabilities. I have several years' experience with Microsoft's SQL Server. When I began working with MySQL, I wanted a quick-reference to MySQL (htt…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question