Topic: SQL join question
Just wondering what would be returned from something like the following:
SELECT a.id, b.id FROM a.table AS a LEFT JOIN b.table AS b on b.id=a.id WHERE [rest of query here...]if the first table, a, had only one column which matched the WHERE clause, but table b had, for example, three columns which matched the a columns id, would you have three rows returned or just one?
Ones mind is just failing to grasp basic logic completely again at the moment. ![]()
Cheers.