SELECT
targets on same line SQL-L036SELECT
targets should be on a new line unless there
is only one SELECT
target.
Note, a wildcard (e.g. SELECT *
) is considered a single
select target.
SELECT
a, b
FROM foo;
-- for single target don't use a new line
SELECT
a
FROM foo
SELECT
a,
b
FROM foo
-- for single target no newline is required
SELECT a
FROM foo