Quote:
Originally Posted by linux1880
Wondering, If there are two tables in a database with primary key are they in relationship without needing to add foreign keys ?
|
they can be, if the database designer did a less than comprehensive job
is it possible to join them? sure, you can join two tables in a query on any columns you want, or, as pat has said, on no columns at all
you can also UNION them --
Code:
SELECT col1
FROM table1
UNION
SELECT col2
FROM table2
if you could be a bit more specific than the obfuscatory "col1,col2" and "table1,table2" then maybe we could offer more than just general comments