Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4173 Weergaven

Hello community,

i am using below query and it shows me two rows due to project_type is selection(Internal, Project) field.

My requirement is sum(unit.amount) show be visible in two column for project_type instead of two rows. 

SELECT project_id, project_type, SUM(unit_amount)  FROM account_analytic_line where project_id = 2 GROUP BY project_type, project_id

Current Result:

469;"Internal";154.416666666667

469;"Project";3963.08333333333

Required result:

469; 154.416666666667; 3963.08333333333




Thanks in advance.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
13
jul. 24
14421
1
aug. 24
1482
3
nov. 23
1682
0
dec. 21
2754
2
feb. 19
10077