Bambero <[EMAIL PROTECTED]> writes:

> I don't know what fields are in the table so:
> 
> select fieldname as 1, fieldname2 as 2
> 
> is useless.

slo=> create table x (foo text,bar text,baz text);
CREATE TABLE
slo=> select * from (select * from x) as x ("1","2","3");
 1 | 2 | 3 
---+---+---
(0 rows)

-- 
greg


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to