SELECT
COUNT(price),
price,
something_else,
more_columns
FROM
orders
WHERE
price < 70
GROUP BY
price
, something_else
, more_columns
ORDER BY
price
Desired result:
SELECT
COUNT(price)
, price
, something_else
, more_columns
FROM
orders
WHERE
price < 70
GROUP BY
price
, something_else
, more_columns
ORDER BY
price
Why? I like it because commenting out (non-first) columns gets a lot easier.
SELECT
COUNT(price)
, price
--, something_else
--, more_columns
FROM
orders
WHERE
price < 70
GROUP BY
price
--, something_else
--, more_columns
ORDER BY
price
SQL
Format the default SQL (maybe with more columns):
Desired result:
Why? I like it because commenting out (non-first) columns gets a lot easier.