postgressql temp table join query is giving column “p1.average_price” must appear in the GROUP BY clause or be used in an aggregate function

后端 未结 0 689
无人及你
无人及你 2021-01-30 08:19

Below was my query:

select p1.* from price_temp p1
inner join (select p2.id, p2.program_id, MIN(p2.price) min_price from price_temp p2
            right outer joi         


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