Re: Query

From: "Mitch Vincent" <mvincent(at)cablespeed(dot)com>
To: "Tamara D(dot) Blum" <tblum(at)jus(dot)gov(dot)ar>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Query
Date: 2001-09-13 22:37:39
Message-ID: 001601c13ca4$bb0e1550$1e51000a@mitch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I'm trying to execute the following query:
> "SELECT TOP 10 * FROM table1"

SELECT * FROM table1 LIMIT 10

-- might give you what you're looking for.. I've not seen TOP, though I
could guess where it comes from (Oracle?) -- top seems to imply order so you
might want to ORDER BY something in the query before you LIMIT ...

-Mitch

In response to

  • Query at 2001-09-13 22:19:23 from Tamara D. Blum

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2001-09-13 22:49:39 Re: Query
Previous Message Tamara D. Blum 2001-09-13 22:19:23 Query