Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Leading comma sort of works for SQL, since 'a' will often be a much less likely to change ID or something. Really I just wish it allowed a final trailing comma though, so each could be on its own line:

    select
      a,
      b,
    from ...
without the comma diff when you add one to the end.


BigQuery supports trailing commas in select statements: https://cloud.google.com/bigquery/docs/reference/standard-sq...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: