[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:03474] Re: PostgreSQL: テーブルの結合



くわむらです。

On Sat, 24 Jul 1999, Kazumasa Kawai wrote:
>   PostgreSQLを使っていて、2つのテーブルをあるキーを指定して、結合(リレー
> ション)させたいんだけど、こーゆー書き方ではダメなのかな?
> 
>   SELECT * FROM table1 JOIN table2 ON table1.key = table2.key ;

  select * from table1, table2 where table1.key = table2.key;

だと思います。

--
 Jun Kuwamura
rC Cm
  ^
  ~

References
[plamo:03465] PostgreSQL: テーブルの結合, Kazumasa Kawai

[検索ページ] [メール一覧]
Plamo ML 公開システム