Hi
Hope my query will be simple to understand.
I have 3 tables in the same schema which have the same primary keys. Each has 3 primary keys.
I need to select one column each from each table but if I use aliases, I get too many rows.
Code:
select a.datetime, a.bbb, a.ccc, a.col1+b.col1+c.col1 abc
from table1 a, table2 b, table3 c
where a.bbb=b.bbb
and b.bbb=c.bbb
and a.ccc=b.ccc
and b.ccc=c.ccc
Any input is much appreciated.
Regards