【发布时间】:2019-08-22 20:36:54
【问题描述】:
如何让on 或using 子句在join 语句下从join 的开头缩进2/4 个空格开始?
-- bad
select *
from table1
join table 2
using (some_col)
-- bad
select *
from table1
join table 2
using (some_col)
-- good
select *
from table`
join table2
using (some_col)
【问题讨论】:
标签: sql postgresql formatting jetbrains-ide datagrip