Subject | Re: [ib-support] lost with JOIN |
---|---|
Author | Lucas Franzen |
Post date | 2002-07-04T16:40:35Z |
Matteo Giacomazzi schrieb:
You just forgot to define the join condition.
SELECT TABLE_1.FIELD_1, TABLE_2.FIELD_2
FROM TABLE_1 INNER JOIN TABLE_2 ON TABLE1.SOMEFIELD =
TABLE.SOME[OTHER]FIELD;
Luc.
>Join ON what?
> Hi all,
>
> I cannot understand what's wrong in a query like this:
>
> SELECT TABLE_1.FIELD_1, TABLE_2.FIELD_2
> FROM TABLE_1 INNER JOIN TABLE_2;
You just forgot to define the join condition.
SELECT TABLE_1.FIELD_1, TABLE_2.FIELD_2
FROM TABLE_1 INNER JOIN TABLE_2 ON TABLE1.SOMEFIELD =
TABLE.SOME[OTHER]FIELD;
Luc.