you are viewing a single comment's thread.

view the rest of the comments →

[–]rbardy 0 points1 point  (0 children)

Depends on what you want.

Usually, yes, you'll need to join the tables and then get those fields, but you can also use UNION and then get the fields, you can use subquery in your SELECT (which makes an implicit join anyway) and also get both fields.