pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rachel Coin <rachel@derniere-minute.org>
To: pgsql-sql@postgresql.org
Subject: Categories and subcategories
Date: Tue, 20 Mar 2001 09:48:21 +0100
Message-ID: <002601c0b11a$8e1e7280$6101a8c0@spidinfo.com> (raw)

Hi,

I have two tables : the first for categories and the second for
subcategories.I want to get a result like Yahoo! For each category , the sql
query must return maximum 3 subcategories. I can't use "limit" in a subquery
because I use Postgresql 7.0.

Any help?

Regards,


Rachel




view thread (2+ messages)  latest in thread

Message-ID: <002601c0b11a$8e1e7280$6101a8c0@spidinfo.com>
Permalink:  ../002601c0b11a$8e1e7280$6101a8c0@spidinfo.com/
Also on:    postgresql.org/message-id/002601c0b11a$8e1e7280$6101a8c0@spidinfo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: rachel@derniere-minute.org
  Subject: Re: Categories and subcategories
  In-Reply-To: <002601c0b11a$8e1e7280$6101a8c0@spidinfo.com>
  References: <002601c0b11a$8e1e7280$6101a8c0@spidinfo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox