Does "USING" work? - Mailing list pgsql-cygwin

From Michael Labhard
Subject Does "USING" work?
Date
Msg-id aklcg4$tp8$1@main.gmane.org
Whole thread Raw
List pgsql-cygwin
Tried this simple test without success.  psql says (\h SELECT) that it
should work.  Do I have the syntax wrong?

CREATE TABLE a(
 x INTEGER PRIMARY KEY
 , y INTEGER
);

CREATE TABLE a1(
 x INTEGER REFERENCES a(x)
 , z INTEGER
);

INSERT INTO a(x, y) VALUES (1, 1);
INSERT INTO a(x, y) VALUES (2, 2);
INSERT INTO a1(x, z) VALUES (2, 2);


SELECT a.x, a.y, a1.z
FROM USING( x )
WHERE a.x = a1.x
;

DROP TABLE a;
DROP TABLE a1;




pgsql-cygwin by date:

Previous
From: davedudd
Date:
Subject: µÚËÄ´ú¸ßËÙ·þÎñÆ÷!!!È«¹ú×îµ×¼Û¸ñµÄÓòÃûÖ÷»ú!!!¹ú¼ÊÓòÃûÖ»Ðè80Ôª!!!!
Next
From: Jason Tishler
Date:
Subject: Re: HELP < 63 users