SQL Formatting

Amazon
the devil

Go to company page Amazon

the devil
Dec 17, 2019 3 Comments

Sometimes I think you all try to make SQL as difficult to read as possible. Inconsistent capitalization, inconsistent line breaks, strange comma-first lines, 1000+ character line lengths, indent here no-indent there, etc - it makes NO sense. Like it was rushed in the middle of the night at 3am and it only works after the 30th iteration where you are adding one small change and then running again over and over until it works.

Please think of your poor colleagues.

That is all. Thanks.

TC $190k

comments

Want to comment? LOG IN or SIGN UP
TOP 3 Comments
  • Amazon
    qNkr24

    Go to company page Amazon

    qNkr24
    Everybody talks about how easy SQL is but at the same time everybody is hot garbage at it. Not just writing a query, but at partitioning and distribution and modeling. Needs more emphasis in college because too many new grads fucking BLOW at it
    Dec 17, 2019 0
  • My SQL used to look like that before I started using an IDE to write sql
    Dec 18, 2019 1
    • Amazon
      the devil

      Go to company page Amazon

      the devil
      OP
      Yeah this is my point, to a degree. If it were treated like a programming language there would be some standards your peers would expect you to apply.
      Dec 18, 2019