|
|
|
|
|
by hn_throwaway_99
1903 days ago
|
|
Another commenter showed how this works: SELECT a.foo
, b.bar
, g.zed
FROM ...
While the comma placement may seem weird, it makes this exactly identical to the "AND" or "OR" placement in WHERE clauses, and the primary benefit is that it's easy to comment out any column except the first. |
|
Personally I don't think that optimization is worth the price. Trailing commas look nicer visually so I prefer them.