Open georgexsh opened 5 years ago
another bad case:
select
*
from (
select
*
from
a
group by
d) as t
better:
select
*
from (
select
*
from
a
group by
d
) as t
select
*
from
a
where
exists (
select
*
from
b
where
a.id = b.id)
order by
id
better:
select
*
from
a
where
exists (
select
*
from
b
where
a.id = b.id
)
order by
id
outer order by
should not be indented.
for all the issues, here is a potato:
.----._
( )
'-----'
I'd like to vote for this as well
Which driver are you using and version of it (Ex: PostgreSQL 10.0): mysql 5
Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): 226
The steps to reproduce this issue:
with sql:
beautify:
better result:
the difference is right parathesis should break into a new line.