How to optimise PostgreSQL query containing conditionally-named aggregated fields from a JOIN on a subquery?

前端 未结 0 662
余生分开走
余生分开走 2021-02-13 15:10

I have 3 tables in PostgreSQL with the following structures:

create table if not exists table_a
(
    id serial not null
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题