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

I use a similar structure but without column alignment.

  SELECT
    a,
    b
  FROM t1
  JOIN t2 ON …
  WHERE cond1
    AND cond2
  ORDER/GROUP/HAVING etc


This is the way, everyone else is wrong.




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

Search: