我使用dbeaver为我的主IDE查询多个数据库.当我查询表时,它会自动生成一个长整数语句,其中所有列都在一行中.
当我进行更复杂的查询时,使用和阅读变得非常麻烦.我想在单独的行而不是一个长字符串上查看选择值.
是否有一种简单的方法(可能通过使用Notepad ++或Sublime Text)来分解查询(使用逗号后的换行符)?
例如,
select name, address, city, state, country, zip_code, birthday, membership_type
from customers
Run Code Online (Sandbox Code Playgroud)
至
select
name,
address,
city,
state,
country,
zip_code,
birthday,
membership_type
from customers
Run Code Online (Sandbox Code Playgroud)