|
|
|
|
|
by zabzonk
122 days ago
|
|
> doing JOINs with the USING clause I'm ashamed to say that despite using SQL from the late 1980s, and as someone that likes reading manuals and text books, I'd never come across USING. Probably a bit late for me now to use it (or not) :-( |
|
Not all databases support it. But once you start using it (pun) - a lot of naming conventions snap into place.
It has some funky semantics you should be aware of. Consider this:
There is only one `x` in the above `SELECT *` - the automatically disambiguated one. Which is typically want you want.