Skip site navigation (1) Skip section navigation (2)

sorted result

From: "Al-Haddad, Mohammad J" <mjalha(at)essex(dot)ac(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: sorted result
Date: 2001-10-25 10:58:39
Message-ID: 002801c15d44$00f99340$3217f59b@essex.ac.uk (view raw or flat)
Thread:
Lists: pgsql-novice
hi there,
if  I have a table T1 with primary key P. and attributes A1,A2 and A3
and I have this query:
select * form T1 where the P = 123;
 
do I get the intermediate relation result sorted based on the primary
key?
 
what about if the query somthing like this:
select A1 from T1 where A2 = 456
 
do I get the intermediate result sorted by the primary key
 
 
thank you 
 
 
 

Responses

pgsql-novice by date

Next:From: Einar KarttunenDate: 2001-10-25 11:19:30
Subject: Re: sorted result
Previous:From: Bryan BuchananDate: 2001-10-25 09:41:05
Subject: Re: Visual Database Design Tools

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group