Karen Hill wrote:
It seems PostgreSQL doesn't have a TOP Predicate.  Why is that?  Here
is an example:

SELECT TOP 10 products from sales;


Just use:

SELECT product from sales limit 10

OR

SELECT products from sales order by products desc limit 10;

Joshua D. Drake




---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org



--

           === The PostgreSQL Company: Command Prompt, Inc. ===
     Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
     Providing the most comprehensive  PostgreSQL solutions since 1997
                    http://www.commandprompt.com/



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to