| From: | Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: How to do? |
| Date: | 2003-08-01 15:35:55 |
| Message-ID: | 1059752154.7505.593.camel@haggis |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Fri, 2003-08-01 at 09:56, Shridhar Daithankar wrote:
> On 1 Aug 2003 at 9:47, Ron Johnson wrote:
>
> > On Wed, 2003-07-30 at 07:17, Robert Partyka wrote:
> > > Hi,
> > >
> > > Have question....
> > >
> > > How to do such like this:
> > >
> > > I have: select <column list> form <tables> where <where statement>;
> > > how to make one column be row numbers in result?
>
> select oid,name from a;
>
> It's oid. Of course you need to have them enabled since they are optional in
> recent versions..
Oh, *that* row number...
--
+-----------------------------------------------------------------+
| Ron Johnson, Jr. Home: ron(dot)l(dot)johnson(at)cox(dot)net |
| Jefferson, LA USA |
| |
| "I'm not a vegetarian because I love animals, I'm a vegetarian |
| because I hate vegetables!" |
| unknown |
+-----------------------------------------------------------------+
| From | Date | Subject | |
|---|---|---|---|
| Next Message | scott.marlowe | 2003-08-01 15:40:33 | Re: Integrating the field auto-increment |
| Previous Message | Franco Bruno Borghesi | 2003-08-01 15:34:25 | Re: How to do? |