On another thread I saw a answer to a sql problem using Oracle’s analytics. Is there a equivalent in PostgreSQL or generic SQL?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Alas.. and it sounds like they won’t be in Postgres 8.4, either. They are under development, though.
Some useful functions can be found in this contrib: http://www.postgresql.org/docs/8.3/static/tablefunc.html (connect_by, crosstab)